.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color, #F2FFF6); /* Default text color for dark background */
  background-color: var(--bg-color, #08160F); /* Ensure body background is dark */
}

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

.page-cockfighting__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main-color, #F2FFF6);
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.page-cockfighting__section-description,
.page-cockfighting__lead-text {
  font-size: clamp(16px, 2.5vw, 18px);
  line-height: 1.6;
  color: var(--text-secondary-color, #A7D9B8);
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__text-block p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--text-main-color, #F2FFF6);
}

.page-cockfighting__dark-bg {
  background-color: var(--bg-color, #08160F);
  color: var(--text-main-color, #F2FFF6);
}

.page-cockfighting__light-bg {
  background-color: #11271B; /* Card BG color for light sections to ensure contrast */
  color: var(--text-main-color, #F2FFF6);
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  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;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

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

.page-cockfighting__main-title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main-color, #F2FFF6);
  margin-bottom: 20px;
  letter-spacing: 0.8px;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-cockfighting__btn-secondary {
  background: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
  box-shadow: 0 2px 10px rgba(42, 209, 111, 0.2);
}

.page-cockfighting__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
  transform: translateY(-2px);
}

/* Content Grids */
.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-cockfighting__image-block {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__card,
.page-cockfighting__promo-card,
.page-cockfighting__tip-card {
  background-color: var(--card-bg-color, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main-color, #F2FFF6);
}

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

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

.page-cockfighting__card-title,
.page-cockfighting__promo-title,
.page-cockfighting__tip-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main-color, #F2FFF6);
  margin-bottom: 10px;
}

.page-cockfighting__card-text,
.page-cockfighting__promo-text,
.page-cockfighting__tip-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary-color, #A7D9B8);
  margin-bottom: 20px;
}

.page-cockfighting__card-link {
  color: #57E38D;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.3s ease;
}

.page-cockfighting__card-link:hover {
  color: #2AD16F;
  text-decoration: underline;
}

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

.page-cockfighting__step-item {
  background-color: var(--card-bg-color, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main-color, #F2FFF6);
}

.page-cockfighting__step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 10px rgba(42, 209, 111, 0.3);
}

.page-cockfighting__step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main-color, #F2FFF6);
  margin-bottom: 15px;
}

.page-cockfighting__step-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary-color, #A7D9B8);
  margin-bottom: 20px;
}

.page-cockfighting__step-button {
  width: 100%;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__faq-item {
  background-color: var(--card-bg-color, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main-color, #F2FFF6);
  cursor: pointer;
  background-color: #11271B;
  transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: #57E38D;
  width: 24px;
  text-align: center;
}

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

.page-cockfighting__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary-color, #A7D9B8);
}

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

.page-cockfighting__faq-answer a {
  color: #57E38D;
  text-decoration: none;
}

.page-cockfighting__faq-answer a:hover {
  text-decoration: underline;
}

/* Details element specific styling */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

/* General Section Spacing */
.page-cockfighting__introduction-section,
.page-cockfighting__history-section,
.page-cockfighting__types-section,
.page-cockfighting__guide-section,
.page-cockfighting__tips-section,
.page-cockfighting__promotions-section,
.page-cockfighting__safety-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
  padding: 80px 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-cockfighting__content-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__image-block:first-child {
    order: 2;
  }
  .page-cockfighting__text-block:first-child {
    order: 1;
  }
  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(28px, 6vw, 48px);
  }
  .page-cockfighting__section-title {
    font-size: clamp(24px, 5vw, 36px);
  }
}

@media (max-width: 768px) {
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__introduction-section,
  .page-cockfighting__history-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__safety-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .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 !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-cockfighting__guide-steps {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__text-block p,
  .page-cockfighting__card-text,
  .page-cockfighting__promo-text,
  .page-cockfighting__tip-text,
  .page-cockfighting__step-text,
  .page-cockfighting__faq-answer p {
    font-size: 15px;
  }
  .page-cockfighting__section-title {
    font-size: 26px;
  }
  .page-cockfighting__main-title {
    font-size: 34px;
  }
}