.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--secondary-color); /* Inherited from shared, which is #1A1A1A */
}

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

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

.page-cockfighting__dark-bg {
  background-color: #1A1A1A;
  color: #ffffff;
}

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

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 60px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

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

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

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

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

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

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

.page-cockfighting__btn-primary {
  background-color: #FFD700;
  color: #1A1A1A;
  border: 2px solid #FFD700;
}

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

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

.page-cockfighting__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A;
}

.page-cockfighting__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-cockfighting__btn--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #FFD700;
}

.page-cockfighting__introduction .page-cockfighting__section-title,
.page-cockfighting__types .page-cockfighting__section-title {
  color: #FFD700;
}

.page-cockfighting__history .page-cockfighting__section-title,
.page-cockfighting__tips .page-cockfighting__section-title,
.page-cockfighting__faq .page-cockfighting__section-title {
  color: #1A1A1A;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__link {
  color: #FFD700;
  text-decoration: none;
}

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

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__image--large {
  max-width: 1000px;
}

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 30px auto;
  text-align: left;
}

.page-cockfighting__list-item {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid #FFD700;
  border-radius: 4px;
  font-size: 1.05em;
  color: #f0f0f0;
}

.page-cockfighting__light-bg .page-cockfighting__list-item {
  background-color: #ffffff;
  color: #333333;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

.page-cockfighting__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

.page-cockfighting__light-bg .page-cockfighting__card {
  background-color: #ffffff;
  color: #333333;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-cockfighting__light-bg .page-cockfighting__card-title {
  color: #1A1A1A;
}

.page-cockfighting__card-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-cockfighting__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-cockfighting__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

.page-cockfighting__light-bg .page-cockfighting__feature-item {
  background-color: #ffffff;
  color: #333333;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 100px; /* Ensure icons are not too small */
  min-height: 100px;
}

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

.page-cockfighting__light-bg .page-cockfighting__feature-title {
  color: #1A1A1A;
}

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

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #1A1A1A;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD700;
}

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

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #333333;
  background-color: #ffffff;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure it overrides */
  padding: 15px 25px;
}

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

.page-cockfighting__conclusion .page-cockfighting__btn--large {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 2.8em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__text-block {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 80px 15px 40px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top */
  }
  .page-cockfighting__hero-title {
    font-size: 2.2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__section {
    padding: 40px 0;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-cockfighting__container,
  .page-cockfighting__hero-content {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-cockfighting video,
  .page-cockfighting__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__hero-video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-cockfighting__card,
  .page-cockfighting__feature-item {
    padding: 20px;
  }

  .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__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-cockfighting__list-item,
  .page-cockfighting__faq-question,
  .page-cockfighting__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

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

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