:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --background-color: #0A0A0A;
  --card-background-color: #111111;
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --light-text: #ffffff;
  --dark-text: #333333;
  --light-bg-card: #1a1a1a; /* Adjusted for better contrast on dark theme */
  --dark-bg-card: #111111;
}

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

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above text */
  padding-top: 10px; /* Small top padding */
  overflow: hidden;
  margin-bottom: 40px;
  background-color: var(--background-color);
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for better text readability on dark background */
}

.page-cockfighting__hero-content-wrapper {
  padding: 40px 0;
  text-align: center;
  position: relative; /* Ensure content is above any background but not overlapping image */
  z-index: 2;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  color: var(--text-main-color);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-cockfighting__description {
  font-size: 1.15rem;
  color: var(--text-main-color);
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%; /* For mobile responsiveness */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

.page-cockfighting__btn-primary {
  background: var(--button-gradient);
  color: var(--light-text);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.3);
}

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

.page-cockfighting__btn-secondary {
  background: var(--card-background-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--light-text);
  box-shadow: 0 6px 15px rgba(242, 193, 78, 0.4);
}

.page-cockfighting__btn-text {
  background: none;
  border: none;
  color: var(--secondary-color);
  padding: 8px 15px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: underline;
}

.page-cockfighting__btn-text:hover {
  color: var(--primary-color);
}

/* General Section Styling */
.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.3;
}

.page-cockfighting__description-small {
  font-size: 1rem;
  color: var(--text-main-color);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-cockfighting__dark-section {
  background-color: var(--background-color);
  padding: 60px 0;
  color: var(--text-main-color);
}

.page-cockfighting__light-bg {
  background-color: var(--light-bg-card); /* Slightly lighter dark background for contrast */
  padding: 60px 0;
  color: var(--text-main-color);
}

.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl; /* Reverse order for layout */
}

.page-cockfighting__content-grid--reverse .page-cockfighting__text-block {
  direction: ltr; /* Reset text direction */
}

.page-cockfighting__image-block {
  text-align: center;
}

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

.page-cockfighting__text-block p {
  margin-bottom: 15px;
  font-size: 1rem;
  color: var(--text-main-color);
}

.page-cockfighting__text-block strong {
  color: var(--secondary-color);
}

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

.page-cockfighting__list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--text-main-color);
}

.page-cockfighting__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
}

/* Schedule Section */
.page-cockfighting__schedule-grid,
.page-cockfighting__promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__schedule-card,
.page-cockfighting__promo-card {
  background-color: var(--card-background-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.page-cockfighting__card-title {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__card-date {
  font-size: 0.95rem;
  color: var(--secondary-color);
  margin-top: 15px;
}

.page-cockfighting__full-schedule-cta,
.page-cockfighting__full-promo-cta {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 60px 0;
  background-color: var(--light-bg-card); /* Lighter dark background for FAQ */
  color: var(--text-main-color);
}

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

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-background-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
  background: rgba(var(--primary-color), 0.1);
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color);
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  background: rgba(var(--primary-color), 0.05); /* Slightly lighter background for answer */
  border-radius: 0 0 8px 8px;
  color: var(--text-main-color);
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer p {
  margin-bottom: 0;
}
.page-cockfighting__faq-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Bottom CTA Section */
.page-cockfighting__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--background-color);
}
.page-cockfighting__cta-bottom-section .page-cockfighting__section-title {
  color: var(--text-main-color);
}
.page-cockfighting__cta-bottom-section .page-cockfighting__description {
  margin-bottom: 40px;
}
.page-cockfighting__cta-bottom-section .page-cockfighting__description a {
  color: var(--secondary-color);
  text-decoration: underline;
}
.page-cockfighting__cta-bottom-section .page-cockfighting__description a:hover {
  color: var(--primary-color);
}


/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content-wrapper {
    padding: 30px 0;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-cockfighting__description {
    font-size: 1rem;
    max-width: 700px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 25px;
    font-size: 1rem;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    margin-bottom: 25px;
  }
  .page-cockfighting__dark-section,
  .page-cockfighting__light-bg,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-bottom-section {
    padding: 50px 0;
  }
  .page-cockfighting__content-grid {
    gap: 30px;
  }
  .page-cockfighting__schedule-grid,
  .page-cockfighting__promo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .page-cockfighting__card-title {
    font-size: 1.3rem;
  }
  .page-cockfighting__faq-qtext {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  /* Hero Section */
  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* Small top padding */
    margin-bottom: 30px;
  }
  .page-cockfighting__hero-content-wrapper {
    padding: 20px 0;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem); /* Adjust for smaller screens */
    margin-bottom: 10px;
  }
  .page-cockfighting__description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px; /* Add padding to container */
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    font-size: 1rem;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  /* General Section Styling */
  .page-cockfighting__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    margin-bottom: 20px;
  }
  .page-cockfighting__description-small {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }
  .page-cockfighting__dark-section,
  .page-cockfighting__light-bg,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-bottom-section {
    padding: 40px 0;
  }
  .page-cockfighting__content-grid {
    grid-template-columns: 1fr; /* Stack content vertically */
    gap: 25px;
  }
  .page-cockfighting__content-grid--reverse {
    grid-template-columns: 1fr; /* Stack content vertically */
    direction: ltr; /* Reset direction */
  }
  .page-cockfighting__image-block {
    order: -1; /* Image appears first when stacked */
  }
  .page-cockfighting__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__text-block p,
  .page-cockfighting__list li {
    font-size: 0.95rem;
  }

  /* Schedule and Promo Grid */
  .page-cockfighting__schedule-grid,
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr; /* Stack cards vertically */
    gap: 20px;
  }
  .page-cockfighting__schedule-card,
  .page-cockfighting__promo-card {
    padding: 20px;
  }
  .page-cockfighting__card-title {
    font-size: 1.2rem;
  }
  .page-cockfighting__full-schedule-cta,
  .page-cockfighting__full-promo-cta {
    margin-top: 30px;
  }

  /* FAQ Section */
  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    padding: 15px 20px;
  }
  .page-cockfighting__faq-qtext {
    font-size: 1rem;
  }
  .page-cockfighting__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 20px 15px;
  }
  .page-cockfighting__faq-image {
    margin: 30px auto 0;
  }

  /* Images specific */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__image-block,
  .page-cockfighting__schedule-card,
  .page-cockfighting__promo-card,
  details.page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure content does not overflow */
  }
}

/* Ensure no filter is used for images */
.page-cockfighting img {
  filter: none !important;
}

/* Contrast fix if needed, though with chosen colors it should be fine */
.page-cockfighting__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-cockfighting__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}