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

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

.page-popular-cockfighting-breeds__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for sections */
  color: #ffffff;
}

.page-popular-cockfighting-breeds__light-bg {
  background-color: #0a0a0a; /* Use body background for light sections to maintain contrast with text */
  color: #f0f0f0;
}

/* Hero Section */
.page-popular-cockfighting-breeds__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  padding-bottom: 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-popular-cockfighting-breeds__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3;
}

.page-popular-cockfighting-breeds__hero-title {
  font-size: 3.5em;
  color: #26A9E0;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-popular-cockfighting-breeds__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Section Titles and Descriptions */
.page-popular-cockfighting-breeds__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-popular-cockfighting-breeds__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-popular-cockfighting-breeds__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #f0f0f0;
}

/* Buttons */
.page-popular-cockfighting-breeds__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-popular-cockfighting-breeds__btn-primary:hover {
  background-color: #1e87c0;
  transform: translateY(-2px);
}

/* Breeds Section */
.page-popular-cockfighting-breeds__breeds-section {
  padding: 60px 0;
}

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

.page-popular-cockfighting-breeds__breed-card {
  background-color: #1a1a1a; /* Darker card background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  color: #f0f0f0;
}

.page-popular-cockfighting-breeds__breed-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-popular-cockfighting-breeds__breed-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-popular-cockfighting-breeds__breed-description {
  font-size: 1em;
  color: #cccccc;
  padding: 0 15px;
}

/* Evaluation and Tips Section */
.page-popular-cockfighting-breeds__evaluation-section,
.page-popular-cockfighting-breeds__tips-section,
.page-popular-cockfighting-breeds__online-betting-section,
.page-popular-cockfighting-breeds__conclusion-section {
  padding: 60px 0;
}

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

.page-popular-cockfighting-breeds__list-item {
  background-color: #1a1a1a; /* Darker item background */
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-popular-cockfighting-breeds__list-item strong {
  color: #26A9E0;
}

/* Video Section */
.page-popular-cockfighting-breeds__video-section {
  padding: 60px 0;
  text-align: center;
}

.page-popular-cockfighting-breeds__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-top: 40px;
  border-radius: 10px;
}

.page-popular-cockfighting-breeds__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  max-width: 100%;
  display: block;
}

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

.page-popular-cockfighting-breeds__faq-list {
  margin-top: 40px;
}

.page-popular-cockfighting-breeds__faq-item {
  background-color: #1a1a1a; /* Darker item background */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

.page-popular-cockfighting-breeds__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  background-color: #1a1a1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-popular-cockfighting-breeds__faq-question h3 {
  margin: 0;
  color: #26A9E0;
}

.page-popular-cockfighting-breeds__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #ffffff;
}

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

.page-popular-cockfighting-breeds__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
}

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

.page-popular-cockfighting-breeds__faq-answer p {
  margin: 0;
  color: #cccccc;
}

/* Conclusion Section */
.page-popular-cockfighting-breeds__conclusion-section {
  padding-bottom: 80px;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-popular-cockfighting-breeds__hero-title {
    font-size: 3em;
  }
  .page-popular-cockfighting-breeds__section-title {
    font-size: 2em;
  }
  .page-popular-cockfighting-breeds__breeds-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-popular-cockfighting-breeds__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }
  .page-popular-cockfighting-breeds__hero-title {
    font-size: 2.5em;
  }
  .page-popular-cockfighting-breeds__hero-description {
    font-size: 1em;
  }
  .page-popular-cockfighting-breeds__section-title {
    font-size: 1.8em;
  }
  .page-popular-cockfighting-breeds__section-description,
  .page-popular-cockfighting-breeds__text-block,
  .page-popular-cockfighting-breeds__list-item,
  .page-popular-cockfighting-breeds__breed-description,
  .page-popular-cockfighting-breeds__faq-question,
  .page-popular-cockfighting-breeds__faq-answer p {
    font-size: 0.95em;
  }
  .page-popular-cockfighting-breeds__btn-primary {
    padding: 12px 25px;
    font-size: 0.9em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-popular-cockfighting-breeds__container {
    padding: 0 15px;
  }
  .page-popular-cockfighting-breeds__breeds-grid {
    gap: 20px;
  }
  .page-popular-cockfighting-breeds__breed-image {
    height: 200px;
  }
  .page-popular-cockfighting-breeds img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-popular-cockfighting-breeds__breeds-section,
  .page-popular-cockfighting-breeds__evaluation-section,
  .page-popular-cockfighting-breeds__tips-section,
  .page-popular-cockfighting-breeds__online-betting-section,
  .page-popular-cockfighting-breeds__conclusion-section,
  .page-popular-cockfighting-breeds__video-section,
  .page-popular-cockfighting-breeds__faq-section {
    padding: 40px 0;
  }
  .page-popular-cockfighting-breeds__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-popular-cockfighting-breeds__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-popular-cockfighting-breeds__faq-question,
  .page-popular-cockfighting-breeds__faq-answer {
    padding: 15px;
  }
  .page-popular-cockfighting-breeds__faq-item.active .page-popular-cockfighting-breeds__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-popular-cockfighting-breeds__hero-title {
    font-size: 2em;
  }
  .page-popular-cockfighting-breeds__section-title {
    font-size: 1.5em;
  }
  .page-popular-cockfighting-breeds__breeds-grid {
    grid-template-columns: 1fr;
  }
  .page-popular-cockfighting-breeds__btn-primary {
    width: 100%;
  }
}

/* Ensure all content images are not small icons and meet minimum size */
.page-popular-cockfighting-breeds img:not(.page-popular-cockfighting-breeds__hero-image) {
  min-width: 200px;
  min-height: 200px;
}

/* Color Contrast Fixes (if needed, based on dynamic analysis) */
/* The current design uses dark backgrounds and light text, which inherently provides good contrast. */
/* If a specific element's background changes to light, its text color should be adjusted to dark. */
/* For example: */
/* .page-popular-cockfighting-breeds__card.light-mode { background-color: #ffffff; color: #333333; } */