.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* body background is #121212 from shared */
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  overflow: hidden;
  padding: 80px 0;
  background-color: #007BFF; /* Main brand color for hero background */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFC107; /* Highlight with accent color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-cockfighting__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3; /* Overlay effect */
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%); /* Subtle filter, not color changing */
}

/* General Section Styles */
.page-cockfighting__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #FFC107; /* Accent color for main titles */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__content-block {
  margin-bottom: 40px;
}

.page-cockfighting__content-subtitle {
  font-size: 1.8em;
  color: #007BFF; /* Main color for subtitles */
  margin-bottom: 15px;
  text-align: center;
}

.page-cockfighting__content-block p {
  margin-bottom: 15px;
  text-align: justify;
  color: #e0e0e0;
}

.page-cockfighting__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Background colors for sections */
.page-cockfighting__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter than body for contrast, but still dark */
  color: #ffffff;
  padding: 60px 0;
}

.page-cockfighting__light-bg {
  background-color: #2a2a2a; /* Another dark background, but visually distinct */
  color: #ffffff;
  padding: 60px 0;
}

/* Feature List */
.page-cockfighting__feature-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 800px;
}

.page-cockfighting__feature-item {
  background-color: rgba(255, 255, 255, 0.08); /* Subtle transparent white */
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: #ffffff;
}

.page-cockfighting__feature-item strong {
  color: #FFC107;
  font-size: 1.1em;
}

/* Types Grid */
.page-cockfighting__types-grid, .page-cockfighting__advantages-grid, .page-cockfighting__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__type-card, .page-cockfighting__advantage-card, .page-cockfighting__tip-card {
  background-color: rgba(0, 123, 255, 0.15); /* Main brand color with transparency */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-cockfighting__type-card:hover, .page-cockfighting__advantage-card:hover, .page-cockfighting__tip-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__card-title {
  font-size: 1.6em;
  color: #FFC107;
  margin: 20px 15px 10px 15px;
}

.page-cockfighting__card-text {
  font-size: 1em;
  color: #e0e0e0;
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

/* Guide Steps */
.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-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

.page-cockfighting__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #FFC107; /* Accent color for step numbers */
  color: #121212; /* Dark text for accent background */
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-title {
  font-size: 1.5em;
  color: #007BFF; /* Main brand color for step titles */
  margin-bottom: 15px;
}

.page-cockfighting__step-item p {
  color: #e0e0e0;
  margin-bottom: 20px;
}

/* Buttons */
.page-cockfighting__btn-primary, .page-cockfighting__btn-secondary, .page-cockfighting__btn-small, .page-cockfighting__btn-large {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%;
}

.page-cockfighting__btn-primary {
  background-color: #FFC107; /* Accent color for primary action */
  color: #121212; /* Dark text for accent background */
  border: 2px solid #FFC107;
}

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

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

.page-cockfighting__btn-secondary:hover {
  background-color: #FFC107;
  color: #121212;
}

.page-cockfighting__btn-small {
  padding: 8px 15px;
  font-size: 0.9em;
  border-radius: 25px;
  background-color: #007BFF;
  color: #ffffff;
  border: 1px solid #007BFF;
}

.page-cockfighting__btn-small:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.page-cockfighting__btn-large {
  padding: 15px 35px;
  font-size: 1.2em;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  background-color: #1a1a1a;
  padding: 60px 0;
  color: #ffffff;
}

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

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  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;
  background-color: #007BFF; /* Main brand color for question background */
  color: #ffffff;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #e0e0e0;
}

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

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

/* CTA Section */
.page-cockfighting__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #2a2a2a;
  color: #ffffff;
}

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

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

  .page-cockfighting__content-subtitle {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    flex-direction: column;
    min-height: auto;
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

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

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

  .page-cockfighting__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .page-cockfighting__btn-primary, .page-cockfighting__btn-secondary, .page-cockfighting__btn-small, .page-cockfighting__btn-large, .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;
  }

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

  .page-cockfighting__content-subtitle {
    font-size: 1.4em;
  }

  .page-cockfighting__types-grid, .page-cockfighting__advantages-grid, .page-cockfighting__tips-grid, .page-cockfighting__guide-steps {
    grid-template-columns: 1fr;
  }

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

  /* Images and Videos responsive */
  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__image-content, .page-cockfighting__card-image {
    min-width: 200px !important; /* Ensure minimum size */
    min-height: 200px !important;
  }

  .page-cockfighting video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__video-section, .page-cockfighting__video-container, .page-cockfighting__video-wrapper, .page-cockfighting__cta-buttons, .page-cockfighting__button-group, .page-cockfighting__btn-container {
    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__feature-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

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

  .page-cockfighting__step-number {
    margin-bottom: 15px;
  }

  .page-cockfighting__faq-question {
    padding: 15px;
  }

  .page-cockfighting__faq-title {
    font-size: 1.1em;
  }

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

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

/* Ensure content area images are not too small */
.page-cockfighting__content-area img,
.page-cockfighting__introduction-section img,
.page-cockfighting__types-section img,
.page-cockfighting__advantages-section img,
.page-cockfighting__tips-section img {
  min-width: 200px;
  min-height: 200px;
}