.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color-deep);
  line-height: 1.6;
}

.page-cockfighting__hero-section {
  position: relative;
  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;
  color: var(--text-main);
}

.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);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

.page-cockfighting__main-title {
  font-size: clamp(2em, 5vw, 3.5em);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.2em;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-cockfighting__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-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  background: none;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.page-cockfighting__btn-secondary:hover {
  background-color: rgba(242, 193, 78, 0.1);
  transform: translateY(-2px);
}

.page-cockfighting__section {
  padding: 80px 20px;
  text-align: center;
}

.page-cockfighting__intro-section {
  background-color: var(--bg-color-light);
  color: var(--text-main);
}

.page-cockfighting__features-section,
.page-cockfighting__guide-section,
.page-cockfighting__why-choose-section,
.page-cockfighting__cta-bottom-section {
  background-color: var(--bg-color-deep);
  color: var(--text-main);
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: var(--gold);
  margin-bottom: 40px;
  font-weight: 700;
}

.page-cockfighting__text-block {
  max-width: 900px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
  color: var(--text-secondary);
}

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

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

.page-cockfighting__card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: var(--glow);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__card-text {
  font-size: 1em;
  color: var(--text-secondary);
}

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

.page-cockfighting__list-item {
  background-color: var(--card-bg);
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-left: 5px solid var(--primary-color);
}

.page-cockfighting__list-item-title {
  font-size: 1.4em;
  color: var(--glow);
  margin-bottom: 10px;
}

.page-cockfighting__list-item-text {
  color: var(--text-secondary);
  font-size: 1.05em;
}

.page-cockfighting__center-cta {
  margin-top: 40px;
}

.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: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__step-image {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__step-title {
  font-size: 1.4em;
  color: var(--gold);
  margin-bottom: 15px;
}

.page-cockfighting__step-text {
  font-size: 1em;
  color: var(--text-secondary);
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-cockfighting__btn-small {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  transition: background 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-small:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

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

.page-cockfighting__promo-item {
  background-color: var(--card-bg);
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-right: 5px solid var(--secondary-color);
}

.page-cockfighting__promo-title {
  font-size: 1.4em;
  color: var(--glow);
  margin-bottom: 10px;
}

.page-cockfighting__promo-text {
  color: var(--text-secondary);
  font-size: 1.05em;
}

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

.page-cockfighting__reason-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.page-cockfighting__reason-image {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__reason-title {
  font-size: 1.4em;
  color: var(--gold);
  margin-bottom: 15px;
}

.page-cockfighting__reason-text {
  font-size: 1em;
  color: var(--text-secondary);
}

.page-cockfighting__faq-section {
  background-color: var(--bg-color-light);
  color: var(--text-main);
}

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

.page-cockfighting__faq-item {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.page-cockfighting__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  color: var(--gold);
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-item summary:hover {
  background-color: rgba(242, 193, 78, 0.05);
}

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

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  color: var(--glow);
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  margin-left: 10px;
  color: var(--primary-color);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  content: '−';
}

.page-cockfighting__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1.05em;
  color: var(--text-secondary);
}

.page-cockfighting__cta-bottom-section {
  padding: 60px 20px;
}

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

/* Color Variables */
:root {
  --primary-color: #11A84E; /* Main */
  --secondary-color: #22C768; /* Aux */
  --card-bg: #11271B;
  --bg-color-deep: #08160F;
  --bg-color-light: #0d1a14; /* Slightly lighter for contrast with deep green text */
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* Ensure contrast for text on light background areas */
.page-cockfighting__intro-section p,
.page-cockfighting__types-section p,
.page-cockfighting__promo-list .page-cockfighting__promo-text,
.page-cockfighting__faq-section p {
  color: var(--text-secondary); /* Using secondary text color for readability */
}

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

  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset, small top padding for this section */
  }

  .page-cockfighting__hero-content {
    padding: 15px;
  }

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

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

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-small,
  .page-cockfighting__btn-large,
  .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__section {
    padding: 50px 15px;
  }

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

  .page-cockfighting__text-block {
    font-size: 1em;
  }

  .page-cockfighting__grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__reasons-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-cockfighting__card-image,
  .page-cockfighting__step-image,
  .page-cockfighting__reason-image {
    height: auto;
    max-width: 100% !important;
    width: 100% !important;
    display: block !important;
  }

  .page-cockfighting__list-item,
  .page-cockfighting__promo-item,
  .page-cockfighting__faq-item {
    padding: 20px;
  }

  .page-cockfighting__list-item-title,
  .page-cockfighting__promo-title,
  .page-cockfighting__reason-title,
  .page-cockfighting__step-title {
    font-size: 1.2em;
  }

  .page-cockfighting__list-item-text,
  .page-cockfighting__promo-text,
  .page-cockfighting__reason-text,
  .page-cockfighting__step-text {
    font-size: 0.95em;
  }

  .page-cockfighting__faq-item summary {
    font-size: 1em;
    padding: 15px;
  }

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

  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure content does not overflow */
  }

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

  /* Video responsive rules for all videos within .page-cockfighting */
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

}

/* Custom Colors */
.page-cockfighting__dark-bg {
  background-color: var(--bg-color-deep);
  color: var(--text-main);
}

.page-cockfighting__light-bg {
  background-color: var(--bg-color-light);
  color: var(--text-main); /* Ensure text is readable on this background */
}

.page-cockfighting__card {
  background-color: var(--card-bg);
  border-color: var(--border-color);
}

.page-cockfighting__main-title,
.page-cockfighting__section-title,
.page-cockfighting__card-title,
.page-cockfighting__list-item-title,
.page-cockfighting__step-title,
.page-cockfighting__promo-title,
.page-cockfighting__reason-title,
.page-cockfighting__faq-qtext {
  color: var(--gold);
}

.page-cockfighting__text-block,
.page-cockfighting__hero-description,
.page-cockfighting__card-text,
.page-cockfighting__list-item-text,
.page-cockfighting__step-text,
.page-cockfighting__promo-text,
.page-cockfighting__reason-text,
.page-cockfighting__faq-answer {
  color: var(--text-secondary);
}

.page-cockfighting__list-item {
  border-left-color: var(--primary-color);
}

.page-cockfighting__promo-item {
  border-right-color: var(--secondary-color);
}

.page-cockfighting__faq-toggle {
  color: var(--primary-color);
}