/* style/cockfighting.css */
:root {
  --page-cockfighting-bg: #08160F;
  --page-cockfighting-card-bg: #11271B;
  --page-cockfighting-text-main: #F2FFF6;
  --page-cockfighting-text-secondary: #A7D9B8;
  --page-cockfighting-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-cockfighting-border: #2E7A4E;
  --page-cockfighting-glow: #57E38D;
  --page-cockfighting-gold: #F2C14E;
  --page-cockfighting-divider: #1E3A2A;
  --page-cockfighting-deep-green: #0A4B2C;
}

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

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

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

.page-cockfighting__section--dark {
  background-color: var(--page-cockfighting-bg);
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__section--light {
  background-color: var(--page-cockfighting-card-bg);
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__section--cta {
  background: var(--page-cockfighting-btn-gradient);
  color: #ffffff;
  text-align: center;
}

.page-cockfighting__section-title {
  font-size: 2.8em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--page-cockfighting-gold);
  line-height: 1.2;
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--page-cockfighting-text-secondary);
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--page-cockfighting-bg);
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-cockfighting__hero-content {
  position: relative; /* Ensure content is below image, not overlaying */
  text-align: center;
  padding: 40px 20px 80px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over the bottom of the image for visual flow */
  background-color: var(--page-cockfighting-card-bg);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  z-index: 1;
  border: 1px solid var(--page-cockfighting-border);
}

.page-cockfighting__hero-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive H1 font size */
  font-weight: bold;
  color: var(--page-cockfighting-gold);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.15em;
  color: var(--page-cockfighting-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  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;
  white-space: nowrap;
  word-wrap: normal;
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: var(--page-cockfighting-btn-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: var(--page-cockfighting-gold);
  color: var(--page-cockfighting-bg);
  transform: translateY(-3px);
}

.page-cockfighting__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-cockfighting__btn-large {
  padding: 18px 35px;
  font-size: 1.1em;
}

/* Content Sections Layout */
.page-cockfighting__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.page-cockfighting__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-cockfighting__text-block {
  flex: 1;
  min-width: 300px;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__image-block {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  border: 1px solid var(--page-cockfighting-border);
  display: block;
  margin: 0 auto;
}

.page-cockfighting__text-block h3 {
  font-size: 1.8em;
  color: var(--page-cockfighting-gold);
  margin-bottom: 15px;
}

.page-cockfighting__text-block p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__text-block a {
  color: var(--page-cockfighting-gold);
  text-decoration: underline;
}

.page-cockfighting__text-block a:hover {
  color: var(--page-cockfighting-glow);
}

/* Grid Cards */
.page-cockfighting__grid-cards, .page-cockfighting__grid-promos, .page-cockfighting__grid-features, .page-cockfighting__grid-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__card, .page-cockfighting__promo-card, .page-cockfighting__feature-card, .page-cockfighting__step-card {
  background-color: var(--page-cockfighting-card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  text-align: center;
  border: 1px solid var(--page-cockfighting-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__card-image, .page-cockfighting__promo-image {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--page-cockfighting-border);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__feature-icon, .page-cockfighting__step-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 20px auto;
  display: block;
}

.page-cockfighting__card-title, .page-cockfighting__promo-title, .page-cockfighting__feature-title, .page-cockfighting__step-title {
  font-size: 1.5em;
  color: var(--page-cockfighting-gold);
  margin-bottom: 10px;
}

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

/* Lists */
.page-cockfighting__list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__list li {
  margin-bottom: 10px;
}

.page-cockfighting__list strong {
  color: var(--page-cockfighting-gold);
}

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: var(--page-cockfighting-gold);
  background-color: var(--page-cockfighting-deep-green);
  border-bottom: 1px solid var(--page-cockfighting-divider);
  list-style: none; /* For details/summary */
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-cockfighting__faq-question:hover {
  background-color: var(--page-cockfighting-border);
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  pointer-events: none; /* Prevent click on text itself from interfering with summary toggle */
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  pointer-events: none; /* Prevent click on toggle itself from interfering with summary toggle */
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
  padding: 20px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--page-cockfighting-text-secondary);
  background-color: var(--page-cockfighting-card-bg);
}

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

.page-cockfighting__faq-answer a {
  color: var(--page-cockfighting-gold);
  text-decoration: underline;
}

.page-cockfighting__faq-answer a:hover {
  color: var(--page-cockfighting-glow);
}

/* CTA Section */
.page-cockfighting__cta-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-cockfighting__cta-title {
  font-size: 2.5em;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-cockfighting__cta-description {
  font-size: 1.1em;
  color: #ffffff;
  margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__section-title {
    font-size: 2.2em;
  }

  .page-cockfighting__hero-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-cockfighting__content-wrapper {
    flex-direction: column;
  }

  .page-cockfighting__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-cockfighting__text-block, .page-cockfighting__image-block {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__section {
    padding: 40px 0;
  }

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

  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }

  .page-cockfighting__hero-content {
    margin-top: -60px;
    padding: 30px 15px 50px 15px;
  }

  .page-cockfighting__hero-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

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

  .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;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__grid-cards, .page-cockfighting__grid-promos, .page-cockfighting__grid-features, .page-cockfighting__grid-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-cockfighting__card-image, .page-cockfighting__promo-image {
    height: 180px;
  }

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

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

  .page-cockfighting__list {
    padding-left: 20px;
  }

  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-cockfighting__faq-answer {
    padding: 15px;
    font-size: 0.95em;
  }

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

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

  /* Mobile image responsiveness */
  .page-cockfighting img {
    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-cta-buttons,
  .page-cockfighting__grid-cards,
  .page-cockfighting__grid-promos,
  .page-cockfighting__grid-features,
  .page-cockfighting__grid-steps,
  .page-cockfighting__faq-list,
  .page-cockfighting__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting__hero-section {
    padding-top: 10px !important; 
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-content {
    margin-top: -40px;
  }
  .page-cockfighting__hero-title {
    font-size: clamp(1.6em, 7vw, 2.2em);
  }
  .page-cockfighting__btn-primary, .page-cockfighting__btn-secondary {
    padding: 12px 20px;
  }
  .page-cockfighting__section-title {
    font-size: 1.5em;
  }
  .page-cockfighting__card-title, .page-cockfighting__promo-title, .page-cockfighting__feature-title, .page-cockfighting__step-title {
    font-size: 1.3em;
  }
  .page-cockfighting__cta-title {
    font-size: 1.8em;
  }
}