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

.page-cockfighting {
  font-family: Arial, sans-serif;
  color: var(--text-main-color); /* Body background is dark, so main text is light */
  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;
}

.page-cockfighting__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-main-color);
  text-align: justify;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

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

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

.page-cockfighting__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-description {
  font-size: clamp(1.1em, 2vw, 1.3em);
  color: var(--text-secondary-color);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__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;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

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

.page-cockfighting__btn-secondary:hover {
  transform: translateY(-3px);
  background: var(--deep-green-color);
  color: var(--glow-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__inline-link {
  color: var(--glow-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-cockfighting__inline-link:hover {
  color: var(--gold-color);
}

/* Introduction Section */
.page-cockfighting__introduction-section {
  padding: 80px 0;
  background-color: var(--deep-green-color);
  color: var(--text-main-color);
}

/* Types Section */
.page-cockfighting__types-section {
  padding: 80px 0;
  background-color: var(--background-color);
}

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

.page-cockfighting__card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__card-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__card-text {
  font-size: 1em;
  color: var(--text-secondary-color);
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 80px 0;
  background-color: var(--deep-green-color);
}

.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__guide-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-cockfighting__guide-step-title {
  font-size: 1.6em;
  color: var(--glow-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__guide-item p {
  color: var(--text-main-color);
  margin-bottom: 15px;
}

.page-cockfighting__guide-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

/* Advantages Section */
.page-cockfighting__advantages-section {
  padding: 80px 0;
  background-color: var(--background-color);
}

.page-cockfighting__advantages-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__advantage-title {
  font-size: 1.4em;
  color: var(--gold-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__advantage-item p {
  color: var(--text-secondary-color);
}

.page-cockfighting__advantage-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

/* Strategy Section */
.page-cockfighting__strategy-section {
  padding: 80px 0;
  background-color: var(--deep-green-color);
}

.page-cockfighting__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__strategy-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-cockfighting__strategy-title {
  font-size: 1.6em;
  color: var(--glow-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__strategy-item p {
  color: var(--text-main-color);
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: var(--background-color);
}

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--card-bg);
  padding: 20px 30px;
  cursor: pointer;
  font-size: 1.2em;
  color: var(--gold-color);
  font-weight: 600;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-question:hover {
  background-color: var(--deep-green-color);
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--glow-color);
  margin-left: 15px;
}

.page-cockfighting__faq-answer {
  background-color: var(--deep-green-color);
  padding: 0 30px;
  color: var(--text-secondary-color);
  font-size: 1em;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-cockfighting__faq-answer p {
  margin: 0;
  padding: 15px 0;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 15px 30px;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  background-color: var(--deep-green-color);
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2em, 4vw, 3em);
  }
  .page-cockfighting__hero-description {
    font-size: clamp(1em, 1.8vw, 1.2em);
  }
}

@media (max-width: 768px) {
  .page-cockfighting__container {
    padding: 0 15px !important;
  }

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

  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__hero-image,
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__types-grid,
  .page-cockfighting__advantages-list,
  .page-cockfighting__faq-list,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__guide-list,
  .page-cockfighting__strategy-list,
  .page-cockfighting__faq-item,
  .page-cockfighting__guide-item,
  .page-cockfighting__advantage-item,
  .page-cockfighting__strategy-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    padding: 15px 20px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-cockfighting__main-title {
    font-size: clamp(2.2em, 7vw, 2.8em);
  }

  .page-cockfighting__text-block,
  .page-cockfighting p,
  .page-cockfighting li,
  .page-cockfighting__card-text {
    font-size: 1em;
  }

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

  .page-cockfighting__faq-answer {
    padding: 0 20px;
  }

  .page-cockfighting__faq-item[open] .page-cockfighting__faq-answer {
    padding: 15px 20px;
  }
}