.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default light text for dark background */
  background-color: var(--background-color, #08160F); /* Dark background */
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--deep-green, #0A4B2C);
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  position: relative;
  margin-bottom: 20px;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  color: var(--text-main, #F2FFF6);
}

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__btn-secondary {
  background: transparent;
  color: var(--text-main, #F2FFF6);
  border: 2px solid var(--border, #2E7A4E);
}

.page-cockfighting__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2);
  transform: translateY(-2px);
}

.page-cockfighting__section {
  padding: 80px 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.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main, #F2FFF6);
}

.page-cockfighting__light-bg .page-cockfighting__section-title,
.page-cockfighting__light-bg p,
.page-cockfighting__light-bg li {
  color: #333333;
}

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

.page-cockfighting__dark-section {
  background-color: var(--card-bg, #11271B);
  color: var(--text-main, #F2FFF6);
}

.page-cockfighting__introduction .page-cockfighting__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__introduction .page-cockfighting__text-block strong {
  color: var(--deep-green, #13994A);
}

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

.page-cockfighting__card {
  background-color: var(--deep-green, #0A4B2C);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: var(--text-main, #F2FFF6);
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
}

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

.page-cockfighting__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--gold, #F2C14E);
}

.page-cockfighting__card-text {
  font-size: 1rem;
  color: var(--text-secondary, #A7D9B8);
}

.page-cockfighting__button-group {
  text-align: center;
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

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

.page-cockfighting__step-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  color: #333333;
}

.page-cockfighting__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--deep-green, #13994A);
}

.page-cockfighting__step-text {
  font-size: 0.95rem;
  color: #555555;
}

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

.page-cockfighting__type-item {
  background-color: var(--card-bg, #11271B);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  color: var(--text-main, #F2FFF6);
}

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

.page-cockfighting__type-title {
  font-size: 1.4rem;
  font-weight: 600;
  padding: 15px 20px 5px;
  color: var(--gold, #F2C14E);
}

.page-cockfighting__type-description {
  font-size: 0.95rem;
  padding: 0 20px 20px;
  color: var(--text-secondary, #A7D9B8);
}

.page-cockfighting__tips .page-cockfighting__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__tips .page-cockfighting__content-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__tips .page-cockfighting__text-content {
  text-align: justify;
  color: #333333;
}

.page-cockfighting__tips .page-cockfighting__text-content p {
  margin-bottom: 20px;
}

.page-cockfighting__tips .page-cockfighting__text-content strong {
  color: var(--deep-green, #13994A);
}

.page-cockfighting__promotions .page-cockfighting__promotion-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.page-cockfighting__promotion-item {
  background-color: var(--deep-green, #0A4B2C);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__promotion-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--gold, #F2C14E);
}

.page-cockfighting__promotion-description {
  font-size: 1rem;
  color: var(--text-secondary, #A7D9B8);
}

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

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

.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-color: #f0f0f0;
  color: var(--deep-green, #13994A);
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details summary */
}

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
  margin-left: 15px;
  color: var(--deep-green, #13994A);
}

.page-cockfighting__faq-answer {
  padding: 15px 25px;
  font-size: 1rem;
  color: #555555;
  border-top: 1px solid #e9e9e9;
}

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

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom: none;
}

.page-cockfighting__cta-final {
  text-align: center;
  padding: 100px 20px;
  background-color: var(--deep-green, #0A4B2C);
}

.page-cockfighting__cta-final .page-cockfighting__section-title {
  color: var(--gold, #F2C14E);
  margin-bottom: 25px;
}

.page-cockfighting__cta-final .page-cockfighting__text-block {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: var(--text-secondary, #A7D9B8);
}

/* --- Responsive Styles --- */
@media (min-width: 769px) {
  .page-cockfighting__tips .page-cockfighting__content-wrapper {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .page-cockfighting__tips .page-cockfighting__content-image {
    flex: 0 0 45%;
    margin-right: 5%;
  }

  .page-cockfighting__tips .page-cockfighting__text-content {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
  }

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

  .page-cockfighting__subtitle {
    font-size: 1rem;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .page-cockfighting__section {
    padding: 50px 0;
  }

  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

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

  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__card,
  .page-cockfighting__step-item,
  .page-cockfighting__type-item,
  .page-cockfighting__promotion-item,
  .page-cockfighting__faq-item,
  .page-cockfighting__content-wrapper,
  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting__tips .page-cockfighting__content-image {
    margin-bottom: 30px;
  }

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

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

  .page-cockfighting__cta-final {
    padding: 60px 15px;
  }
}