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

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

.page-cockfighting__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-cockfighting__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

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

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

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

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold brand color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #000080; /* Dark blue accent */
  border-radius: 2px;
}

.page-cockfighting__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  color: #f0f0f0; /* Light text for general content on dark background */
}

.page-cockfighting__content-area p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.page-cockfighting__dark-section {
  background-color: #000080; /* Dark blue background for sections */
  color: #ffffff;
  padding: 60px 20px;
}

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

.page-cockfighting__dark-section .page-cockfighting__section-title::after {
  background-color: #FFD700;
}

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

.page-cockfighting__grid--two-columns {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.page-cockfighting__card,
.page-cockfighting__promo-card,
.page-cockfighting__step-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #f0f0f0;
}

.page-cockfighting__card:hover,
.page-cockfighting__promo-card:hover,
.page-cockfighting__step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__card-image,
.page-cockfighting__promo-image,
.page-cockfighting__main-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__card-title,
.page-cockfighting__promo-title,
.page-cockfighting__step-title {
  font-size: 1.5em;
  color: #FFD700; /* Gold for titles */
  margin-bottom: 15px;
}

.page-cockfighting__card-text,
.page-cockfighting__promo-text {
  font-size: 1em;
  color: #cccccc;
  flex-grow: 1;
}

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  color: #f0f0f0;
}

.page-cockfighting__list li {
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
}

.page-cockfighting__list li::before {
  content: '✓';
  color: #FFD700; /* Gold checkmark */
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin-top: 20px;
}

.page-cockfighting__btn-primary {
  background-color: #FFD700; /* Gold */
  color: #000080; /* Dark blue text */
  border: 2px solid #FFD700;
}

.page-cockfighting__btn-primary:hover {
  background-color: #e0b800;
  color: #000050;
}

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

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

.page-cockfighting__btn-link {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 1px solid transparent;
  padding: 8px 15px;
  font-size: 0.9em;
  text-align: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__btn-link:hover {
  text-decoration: underline;
  color: #e0b800;
}

.page-cockfighting__btn--full-width {
  width: 100%;
  text-align: center;
}

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

.page-cockfighting__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__step-number {
  font-size: 2.5em;
  color: #FFD700; /* Gold */
  font-weight: bold;
  margin-bottom: 15px;
  display: block;
}

.page-cockfighting__video-section {
  padding: 60px 20px;
  background-color: #000080; /* Dark blue background */
  text-align: center;
}

.page-cockfighting__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1280px; /* Max width for video */
  margin: 0 auto 30px auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

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

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

.page-cockfighting__video-caption {
  color: #cccccc;
  font-style: italic;
  margin-top: 15px;
}

.page-cockfighting__promo-footer a {
  color: #FFD700;
  text-decoration: none;
}

.page-cockfighting__promo-footer a:hover {
  text-decoration: underline;
}

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

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: #f0f0f0;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700; /* Gold */
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  color: inherit;
}

.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-out, padding 0.3s ease-out;
  color: #cccccc;
}

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

.page-cockfighting__cta-section {
  background-color: #FFD700; /* Gold background for CTA */
  padding: 80px 20px;
  text-align: center;
  color: #000080; /* Dark blue text on gold background */
}

.page-cockfighting__cta-title {
  font-size: 2.8em;
  color: #000080; /* Dark blue */
  margin-bottom: 20px;
}

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

.page-cockfighting__cta-buttons .page-cockfighting__btn-primary {
  background-color: #000080; /* Dark blue button */
  color: #FFD700; /* Gold text */
  border-color: #000080;
}

.page-cockfighting__cta-buttons .page-cockfighting__btn-primary:hover {
  background-color: #000050;
  border-color: #000050;
}

.page-cockfighting__cta-buttons .page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #000080; /* Dark blue text */
  border-color: #000080;
}

.page-cockfighting__cta-buttons .page-cockfighting__btn-secondary:hover {
  background-color: #000080;
  color: #FFD700;
}

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

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

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

  .page-cockfighting__image-container {
    order: -1; /* Image first on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }

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

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

  .page-cockfighting__hero-buttons {
    flex-direction: column;
    gap: 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__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;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }

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

  .page-cockfighting__content-area,
  .page-cockfighting__dark-section,
  .page-cockfighting__video-section,
  .page-cockfighting__cta-section {
    padding: 40px 15px;
  }

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

  .page-cockfighting__card-image,
  .page-cockfighting__promo-image,
  .page-cockfighting__main-image {
    height: 200px;
  }

  .page-cockfighting__card,
  .page-cockfighting__promo-card,
  .page-cockfighting__step-card {
    padding: 20px;
  }

  .page-cockfighting__list li {
    padding-left: 25px;
  }

  .page-cockfighting__list li::before {
    font-size: 0.9em;
  }

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

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

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

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

  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 10px 20px 20px 20px;
  }

  /* Ensure all images are responsive and not smaller than 200px */
  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px;
    min-height: 200px;
  }

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

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

@media (max-width: 480px) {
  .page-cockfighting__hero-section {
    height: 400px;
  }

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

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

  .page-cockfighting__cta-title {
    font-size: 1.6em;
  }
}