.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default for light background */
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 450px; /* Max height for hero image */
  overflow: hidden;
  margin-bottom: 20px;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-cockfighting__hero-content {
  max-width: 900px;
  margin-top: 20px;
}

.page-cockfighting__hero-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
  color: #FFFFFF;
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
  font-size: 1.2em;
  color: #F0F0F0;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

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

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

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

.page-cockfighting__btn-primary {
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

.page-cockfighting__btn-secondary {
  background: #FFFFFF;
  color: #017439; /* Primary color */
  border: 2px solid #017439;
}

.page-cockfighting__btn-secondary:hover {
  background: #f0f0f0;
  color: #017439;
}

/* Section Colors */
.page-cockfighting__dark-bg {
  background: #017439;
  color: #FFFFFF;
}

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

.page-cockfighting__dark-section .page-cockfighting__section-title {
  color: #FFFFFF;
}

.page-cockfighting__dark-section .page-cockfighting__text-block {
  color: #F0F0F0;
}

/* Content Image */
.page-cockfighting__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Bet Types Section */
.page-cockfighting__bet-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-cockfighting__bet-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-cockfighting__bet-item:hover {
  transform: translateY(-5px);
}

.page-cockfighting__bet-title {
  font-size: 1.5em;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-cockfighting__bet-description {
  font-size: 1em;
  color: #E0E0E0;
}

/* Guide Section */
.page-cockfighting__step-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-cockfighting__step-item {
  display: flex;
  margin-bottom: 25px;
  align-items: flex-start;
}

.page-cockfighting__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  font-size: 1.8em;
  font-weight: bold;
  color: #017439;
  background: #E0E0E0;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  min-width: 45px; /* Ensure it doesn't shrink */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__step-title {
  font-size: 1.4em;
  color: #017439;
  margin-top: 0;
  margin-bottom: 8px;
}

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

/* Advantages Section */
.page-cockfighting__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-cockfighting__advantage-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-cockfighting__advantage-card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__advantage-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
  object-fit: contain;
}

.page-cockfighting__advantage-title {
  font-size: 1.4em;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-cockfighting__advantage-description {
  font-size: 0.95em;
  color: #E0E0E0;
}

/* Tips Section */
.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-cockfighting__tip-item {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__tip-title {
  font-size: 1.3em;
  color: #017439;
  margin-top: 0;
  margin-bottom: 8px;
}

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

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 30px;
}

.page-cockfighting__faq-item {
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFF00;
  background: #017439; /* Primary color for FAQ question */
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  user-select: none;
  list-style: none;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}

.page-cockfighting__faq-question::marker {
  display: none;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #FFFF00;
}

.page-cockfighting__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #E0E0E0;
  background: rgba(0, 0, 0, 0.2); /* Slightly darker background for answer */
}

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

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

.page-cockfighting__cta-final-section .page-cockfighting__section-title {
  margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__container {
    padding: 15px;
  }

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

  .page-cockfighting__hero-title {
    font-size: clamp(2em, 5vw, 3em);
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-cockfighting__bet-list,
  .page-cockfighting__advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .page-cockfighting__bet-title,
  .page-cockfighting__advantage-title {
    font-size: 1.3em;
  }

  .page-cockfighting__step-item::before {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 1.6em;
    margin-right: 15px;
  }

  .page-cockfighting__step-title {
    font-size: 1.3em;
  }

  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-cockfighting__faq-answer {
    padding: 12px 20px;
  }
}

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

  .page-cockfighting__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  /* Hero Section */
  .page-cockfighting__hero-section {
    flex-direction: column;
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 30px;
  }

  .page-cockfighting__hero-image-wrapper {
    max-height: none;
  }

  .page-cockfighting__hero-image {
    object-fit: contain !important; /* Ensure image is fully visible */
    height: auto !important;
    max-height: 300px; /* Example max height for mobile hero */
  }

  .page-cockfighting__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-top: 20px;
  }

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

  /* Buttons */
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 15px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* General Images and Containers */
  .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;
  }

  /* Bet Types and Advantages Grid */
  .page-cockfighting__bet-list,
  .page-cockfighting__advantages-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 15px;
  }

  .page-cockfighting__bet-item,
  .page-cockfighting__advantage-card {
    padding: 20px;
  }

  .page-cockfighting__bet-title,
  .page-cockfighting__advantage-title {
    font-size: 1.2em;
  }

  .page-cockfighting__advantage-icon {
    width: 80px;
    height: 80px;
  }

  /* Guide Section */
  .page-cockfighting__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-cockfighting__step-item::before {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .page-cockfighting__step-title {
    font-size: 1.2em;
  }

  /* FAQ Section */
  .page-cockfighting__faq-question {
    font-size: 1em;
    padding: 15px;
  }

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

  /* No winner list or blog load more on this page */
}