.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #FFFFFF;
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  background-color: #017439;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  box-sizing: border-box;
  background-color: rgba(1, 116, 57, 0.8); /* Slightly transparent overlay for text readability */
  margin-top: -150px; /* Pull content up over the image slightly */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__main-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Use custom color for main title */
  max-width: 100%;
}

.page-cockfighting__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

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

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

.page-cockfighting__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808;
}

.page-cockfighting__section {
  padding: 60px 0;
}

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

.page-cockfighting__section-title {
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #017439;
}

.page-cockfighting__section-title--white {
  color: #ffffff;
}

.page-cockfighting__paragraph {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__introduction-section {
  background-color: #FFFFFF;
  color: #333333;
}

.page-cockfighting__types-section {
  background-color: #017439;
  color: #ffffff;
}

.page-cockfighting__grid {
  display: grid;
  gap: 30px;
}

.page-cockfighting__grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}

.page-cockfighting__grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}

.page-cockfighting__card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-cockfighting__card--dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  max-width: 100%;
}

.page-cockfighting__card-title {
  font-size: 24px;
  font-weight: 700;
  margin: 20px 15px 10px;
  color: #017439;
}

.page-cockfighting__card--dark .page-cockfighting__card-title {
  color: #FFFF00;
}

.page-cockfighting__card-description {
  font-size: 16px;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-cockfighting__link {
  color: #017439;
  text-decoration: none;
  font-weight: 600;
}

.page-cockfighting__link:hover {
  text-decoration: underline;
}

.page-cockfighting__link--white {
  color: #FFFF00;
}

.page-cockfighting__link--white:hover {
  text-decoration: underline;
}

.page-cockfighting__guide-section {
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-cockfighting__guide-item {
  text-align: center;
  background-color: #f9f9f9;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-cockfighting__guide-icon {
  margin-bottom: 20px;
  width: 100px;
  height: 100px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__guide-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 100%;
}

.page-cockfighting__guide-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #017439;
}

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

.page-cockfighting__advantages-section {
  background-color: #017439;
  color: #ffffff;
}

.page-cockfighting__advantage-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-cockfighting__advantage-card img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  max-width: 100%;
}

.page-cockfighting__advantage-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-cockfighting__promotions-section {
  background-color: #FFFFFF;
  color: #333333;
}

.page-cockfighting__promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__promotion-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__promotion-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #017439;
}

.page-cockfighting__faq-section {
  background-color: #FFFFFF;
  color: #333333;
}

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

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

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
  background: #f5f5f5;
}

.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 42px;
  }

  .page-cockfighting__hero-description {
    font-size: 17px;
  }

  .page-cockfighting__section-title {
    font-size: 34px;
  }

  .page-cockfighting__grid--3-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: 10px; /* Ensure small top padding for mobile */
  }

  .page-cockfighting__hero-image {
    height: 450px; /* Adjust hero image height for mobile */
    object-fit: cover !important; /* Ensure image covers the area */
  }

  .page-cockfighting__hero-content {
    margin-top: -100px;
    padding: 30px 15px;
  }

  .page-cockfighting__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: 15px;
    margin-bottom: 25px;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 16px;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__section {
    padding: 40px 0;
  }

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

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

  .page-cockfighting__paragraph {
    font-size: 15px;
  }

  .page-cockfighting__grid--2-cols,
  .page-cockfighting__grid--3-cols {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__card-image {
    height: 200px; /* Adjust card image height for mobile */
  }

  .page-cockfighting__card-title {
    font-size: 20px;
  }

  .page-cockfighting__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__guide-item {
    padding: 20px 15px;
  }

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

  .page-cockfighting__guide-title {
    font-size: 18px;
  }

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

  .page-cockfighting__advantage-card img {
    
    
  }

  .page-cockfighting__advantage-title {
    font-size: 18px;
  }

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

  .page-cockfighting__promotion-title {
    font-size: 20px;
  }

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

  .page-cockfighting__faq-qtext {
    font-size: 15px;
  }

  .page-cockfighting__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

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

  /* General image responsiveness for all images within .page-cockfighting */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  /* All containing elements for images and buttons */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  .page-cockfighting__cta-buttons {
    flex-wrap: wrap !important;
    gap: 15px;
  }
}