.page-cockfighting {
  color: #ffffff; /* Body background is #1a1a2e (dark), so use light text */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #1a1a2e; /* Ensures consistency with body background */
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.page-cockfighting__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #FFFFFF;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

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

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

.page-cockfighting__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
  background-color: #1e87b7;
}

.page-cockfighting__btn-secondary {
  background: #FFFFFF;
  color: #26A9E0;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #26A9E0;
}

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

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

.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
  color: #26A9E0;
}

.page-cockfighting__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-cockfighting__text-block a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-cockfighting__text-block a:hover {
  color: #1e87b7;
}

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

/* Section backgrounds based on body background type */
.page-cockfighting__dark-bg {
  background-color: #1a1a2e;
  color: #ffffff;
}

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

.page-cockfighting__light-bg .page-cockfighting__section-title,
.page-cockfighting__light-bg .page-cockfighting__heading,
.page-cockfighting__light-bg .page-cockfighting__sub-heading {
  color: #26A9E0;
}

.page-cockfighting__light-bg .page-cockfighting__text-block a {
  color: #26A9E0;
}

.page-cockfighting__light-bg .page-cockfighting__highlight {
  color: #EA7C07;
}

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

.page-cockfighting__grid-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

.page-cockfighting__feature-list,
.page-cockfighting__guide-list,
.page-cockfighting__tips-list,
.page-cockfighting__security-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-cockfighting__feature-item,
.page-cockfighting__guide-item,
.page-cockfighting__tips-item,
.page-cockfighting__security-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-cockfighting__light-bg .page-cockfighting__feature-item,
.page-cockfighting__light-bg .page-cockfighting__guide-item,
.page-cockfighting__light-bg .page-cockfighting__tips-item,
.page-cockfighting__light-bg .page-cockfighting__security-item {
  background: #f8f8f8;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__feature-heading,
.page-cockfighting__guide-heading,
.page-cockfighting__tips-heading,
.page-cockfighting__security-heading {
  font-size: 1.4rem;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__feature-description,
.page-cockfighting__guide-description,
.page-cockfighting__tips-description,
.page-cockfighting__security-description {
  font-size: 1rem;
  line-height: 1.6;
}

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

.page-cockfighting__promo-card {
  background: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  color: #333333;
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-cockfighting__promo-heading {
  font-size: 1.3rem;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-cockfighting__promo-description {
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 0 15px;
}

.page-cockfighting__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  max-width: 1200px; /* Ensure desktop width is constrained */
  box-sizing: border-box;
}

.page-cockfighting__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  background: #26A9E0;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none; /* For details/summary */
}

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

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

.page-cockfighting__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
  background: rgba(255, 255, 255, 0.05);
}

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

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

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset, this is decorative */
  }

  .page-cockfighting__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

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

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .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;
    padding-right: 15px;
  }

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

  .page-cockfighting__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    margin-bottom: 20px;
  }

  .page-cockfighting__text-block {
    font-size: 0.95rem;
  }

  .page-cockfighting__image-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__grid-image {
    height: 250px;
  }

  .page-cockfighting__feature-list,
  .page-cockfighting__guide-list,
  .page-cockfighting__tips-list,
  .page-cockfighting__security-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__feature-item,
  .page-cockfighting__guide-item,
  .page-cockfighting__tips-item,
  .page-cockfighting__security-item {
    padding: 20px;
  }

  .page-cockfighting__feature-heading,
  .page-cockfighting__guide-heading,
  .page-cockfighting__tips-heading,
  .page-cockfighting__security-heading {
    font-size: 1.2rem;
  }

  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__promo-image {
    height: 180px;
  }

  .page-cockfighting__promo-heading {
    font-size: 1.1rem;
  }

  .page-cockfighting__video-wrapper {
    padding-bottom: 56.25% !important; /* 16:9 aspect ratio */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-cockfighting__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.9rem;
  }

  /* Ensure all images are responsive */
  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all containers with images/videos/buttons are responsive */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .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;
    padding-right: 15px;
    overflow: hidden !important;
  }
}