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

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

.page-cockfighting__hero-section {
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

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

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text contrast */
}

.page-cockfighting__hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5), transparent);
  color: #ffffff;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
}

.page-cockfighting__hero-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  color: #F4D34D;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #F4D34D; /* Gold color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__text-main {
  color: var(--text-main, #FFF5E1);
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #333333; /* Dark text for contrast on gold button */
}

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

.page-cockfighting__btn-secondary {
  background: transparent;
  color: #F4D34D; /* Gold text */
  border: 2px solid #F4D34D;
}

.page-cockfighting__btn-secondary:hover {
  background: #F4D34D;
  color: #333333;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__btn-large {
  padding: 16px 40px;
  font-size: 1.2em;
}

/* Introduction Section */
.page-cockfighting__introduction-section {
  padding: 60px 0;
  background-color: var(--background-color, #B71C1C); /* Deep Red Background */
  color: var(--text-main, #FFF5E1);
}

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

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

.page-cockfighting__text-block {
  flex: 1;
}

.page-cockfighting__text-block p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-cockfighting__image-block {
  flex: 1;
  min-width: 200px;
  max-width: 50%;
}

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

.page-cockfighting__image--center {
  margin: 40px auto;
  max-width: 800px;
}

/* Betting Types Section */
.page-cockfighting__betting-types-section {
  padding: 60px 0;
  background-color: #0d0d0d; /* Dark background for contrast */
}

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

.page-cockfighting__card {
  background-color: var(--card-bg, #D32F2F); /* Card Background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: var(--text-main, #FFF5E1); /* Text Main for card content */
  border: 1px solid var(--border-color, #F2B544);
}

.page-cockfighting__card-title {
  font-size: 1.8em;
  color: #F4D34D; /* Gold color for card titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__card-description {
  font-size: 1em;
  line-height: 1.5;
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 60px 0;
  background-color: var(--background-color, #B71C1C);
  color: var(--text-main, #FFF5E1);
}

.page-cockfighting__numbered-list {
  flex: 1;
}

.page-cockfighting__numbered-list ol {
  list-style: none;
  counter-reset: guide-step;
  padding: 0;
}

.page-cockfighting__numbered-list li {
  counter-increment: guide-step;
  margin-bottom: 30px;
  position: relative;
  padding-left: 60px;
}

.page-cockfighting__numbered-list li::before {
  content: counter(guide-step);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #F4D34D;
  color: #333333;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4em;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__list-title {
  font-size: 1.5em;
  color: #F4D34D; /* Gold color for list titles */
  margin-bottom: 10px;
}

.page-cockfighting__numbered-list li p {
  font-size: 1.05em;
}

/* Advantages Section */
.page-cockfighting__advantages-section {
  padding: 60px 0;
  background-color: #0d0d0d;
}

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

.page-cockfighting__advantage-item {
  text-align: center;
  padding: 30px;
}

.page-cockfighting__advantage-title {
  font-size: 1.6em;
  color: #F4D34D;
  margin-bottom: 15px;
  font-weight: bold;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 60px 0;
  background-color: var(--background-color, #B71C1C);
  color: var(--text-main, #FFF5E1);
}

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

.page-cockfighting__faq-item {
  background-color: var(--card-bg, #D32F2F);
  border: 1px solid var(--border-color, #F2B544);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-main, #FFF5E1);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F4D34D;
  cursor: pointer;
  list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-item summary::marker {
  display: none;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #F4D34D;
}

.page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding-top: 10px;
}

/* CTA Section */
.page-cockfighting__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #0d0d0d;
}

.page-cockfighting__cta-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 30px;
  color: var(--text-main, #FFF5E1);
}

.page-cockfighting__cta-buttons {
  margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    padding: 30px 15px;
  }

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

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

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

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

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

  .page-cockfighting__image-block {
    max-width: 80%;
    margin-top: 30px;
  }

  .page-cockfighting__numbered-list li {
    padding-left: 50px;
  }

  .page-cockfighting__numbered-list li::before {
    width: 35px;
    height: 35px;
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

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

  /* HERO Section - Mobile */
  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 20px;
    min-height: 400px;
  }

  .page-cockfighting__hero-image-wrapper {
    max-height: 400px;
  }

  .page-cockfighting__hero-content {
    padding: 20px 15px;
  }

  .page-cockfighting__hero-title {
    font-size: clamp(1.8em, 6vw, 2.5em) !important;
    margin-bottom: 10px;
  }

  .page-cockfighting__hero-description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

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

  /* Buttons - Mobile */
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-cockfighting__hero-cta-buttons,
  .page-cockfighting__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* Section Titles - Mobile */
  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  /* General Images - Mobile */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Content Layout - Mobile */
  .page-cockfighting__content-wrapper {
    flex-direction: column;
    gap: 20px;
  }

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

  .page-cockfighting__image-block {
    max-width: 100%;
    margin-top: 20px;
  }

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

  /* Grid Layouts - Mobile */
  .page-cockfighting__grid-layout,
  .page-cockfighting__advantage-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__card {
    padding: 20px;
  }

  /* Numbered List - Mobile */
  .page-cockfighting__numbered-list li {
    padding-left: 45px;
    margin-bottom: 20px;
  }

  .page-cockfighting__numbered-list li::before {
    width: 30px;
    height: 30px;
    font-size: 1.1em;
  }

  .page-cockfighting__list-title {
    font-size: 1.3em;
  }

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

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

  /* CTA Section - Mobile */
  .page-cockfighting__cta-description {
    font-size: 1.05em;
  }
}