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

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* body padding-top handles header offset */
  background-color: var(--bg-color);
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

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

.page-cockfighting__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.page-cockfighting__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 20px;
}

.page-cockfighting__hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.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: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-cockfighting__subsection-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--text-main);
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: left;
}

.page-cockfighting__paragraph {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

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

.page-cockfighting__list-item {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-cockfighting__list-item::before {
  content: '✔';
  color: var(--main-color);
  position: absolute;
  left: 0;
  top: 0;
}

/* Image Cards */
.page-cockfighting__image-card-group,
.page-cockfighting__promotion-card-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__image-card,
.page-cockfighting__promotion-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.page-cockfighting__image-card:hover,
.page-cockfighting__promotion-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__image-card .page-cockfighting__card-title,
.page-cockfighting__promotion-card .page-cockfighting__card-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 20px 20px 10px 20px;
  margin: 0;
}

.page-cockfighting__image-card .page-cockfighting__card-description,
.page-cockfighting__promotion-card .page-cockfighting__card-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-cockfighting__promotion-card .page-cockfighting__btn-primary {
  margin: 0 20px 20px 20px;
  align-self: flex-start;
}

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

.page-cockfighting__step-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--border-color);
}

.page-cockfighting__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 15px;
  position: relative;
  padding-left: 40px;
}

.page-cockfighting__step-title::before {
  content: attr(data-step-number);
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
}

.page-cockfighting__step-item:nth-child(1) .page-cockfighting__step-title::before { content: '1'; }
.page-cockfighting__step-item:nth-child(2) .page-cockfighting__step-title::before { content: '2'; }
.page-cockfighting__step-item:nth-child(3) .page-cockfighting__step-title::before { content: '3'; }
.page-cockfighting__step-item:nth-child(4) .page-cockfighting__step-title::before { content: '4'; }

.page-cockfighting__step-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-cockfighting__btn-tertiary {
  background: var(--deep-green);
  color: var(--text-main);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: 1px solid var(--border-color);
  display: inline-block;
  text-align: center;
}

.page-cockfighting__btn-tertiary:hover {
  background: var(--main-color);
}

.page-cockfighting__image-container {
  text-align: center;
  margin-top: 40px;
}

.page-cockfighting__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto;
}

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

.page-cockfighting__strategy-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

.page-cockfighting__strategy-card .page-cockfighting__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--main-color);
  margin-bottom: 15px;
  text-align: left;
  padding: 0;
}

.page-cockfighting__strategy-card .page-cockfighting__card-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  padding: 0;
}

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

.page-cockfighting__feature-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__feature-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-cockfighting__feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.page-cockfighting__feature-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 40px;
}

.page-cockfighting__faq-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--divider);
}

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

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  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: 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  text-align: center;
  padding: 80px 0;
  background-color: var(--deep-green);
}

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

/* Color scheme application */
.page-cockfighting__dark-bg {
  background-color: var(--bg-color);
  color: var(--text-main);
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main);
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: inline-block;
  text-align: center;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__btn-secondary {
  background: none;
  color: var(--main-color);
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 2px solid var(--main-color);
  display: inline-block;
  text-align: center;
}

.page-cockfighting__btn-secondary:hover {
  background-color: var(--main-color);
  color: var(--text-main);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }
  .page-cockfighting__subsection-title {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }
  .page-cockfighting__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-cockfighting__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-cockfighting__hero-description {
    font-size: 1rem;
  }
  .page-cockfighting__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-cockfighting__section {
    padding: 40px 0;
  }
  .page-cockfighting__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__section-title {
    margin-bottom: 30px;
  }
  .page-cockfighting__card-image {
    height: 180px;
  }
  .page-cockfighting__image-card-group,
  .page-cockfighting__promotion-card-group,
  .page-cockfighting__step-by-step,
  .page-cockfighting__strategy-grid,
  .page-cockfighting__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__step-item {
    padding: 25px;
  }
  .page-cockfighting__faq-question {
    font-size: 1rem;
    padding: 15px;
  }
  .page-cockfighting__faq-answer {
    padding: 15px;
  }
  .page-cockfighting__conclusion-section {
    padding: 60px 0;
  }

  /* Images and Videos Responsive */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .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;
  }
  .page-cockfighting__video-section {
    padding-top: 10px !important; /* body has header offset */
  }
}

/* Custom Colors */
:root {
  --main-color: #11A84E;
  --aux-color: #22C768;
  --bg-color: #08160F;
  --card-bg: #11271B;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* Ensure contrast for elements on dark backgrounds */
.page-cockfighting__dark-section,
.page-cockfighting__dark-bg,
.page-cockfighting__card,
.page-cockfighting__step-item,
.page-cockfighting__strategy-card,
.page-cockfighting__feature-item,
.page-cockfighting__faq-item {
  color: var(--text-main);
}

.page-cockfighting__paragraph,
.page-cockfighting__list-item,
.page-cockfighting__card-description,
.page-cockfighting__step-description,
.page-cockfighting__feature-description,
.page-cockfighting__faq-answer {
  color: var(--text-secondary);
}

/* Specific overrides for strong contrast */
.page-cockfighting__faq-question {
  background-color: var(--deep-green);
  color: var(--text-main);
}

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

.page-cockfighting__btn-secondary {
  background: none;
  color: var(--main-color);
  border-color: var(--main-color);
}
.page-cockfighting__btn-secondary:hover {
  background-color: var(--main-color);
  color: var(--text-main);
}

.page-cockfighting__btn-tertiary {
  background: var(--deep-green);
  color: var(--text-main);
  border-color: var(--border-color);
}
.page-cockfighting__btn-tertiary:hover {
  background: var(--main-color);
}