.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

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

.page-cockfighting__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px;
  background: rgba(8, 22, 15, 0.7); /* Background with opacity for readability */
  border-radius: 10px;
  margin-top: 100px; /* Push content down to avoid overlapping image too much */
}

.page-cockfighting__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  color: #F2FFF6;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__subtitle {
  font-size: clamp(1em, 1.5vw, 1.3em);
  color: #A7D9B8; /* Text Secondary */
  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: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  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;
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px #57E38D; /* Glow */
}

.page-cockfighting__btn-secondary {
  background: none;
  color: #F2FFF6;
  border: 2px solid #2AD16F;
}

.page-cockfighting__btn-secondary:hover {
  background: #2AD16F;
  color: #08160F;
  box-shadow: 0 0 15px #57E38D; /* Glow */
}

.page-cockfighting__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-cockfighting__sub-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  font-weight: 600;
  color: #F2FFF6;
  margin-bottom: 20px;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  color: #A7D9B8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__text-block--note {
  font-size: 0.9em;
  text-align: center;
  margin-top: 30px;
  color: #A7D9B8;
}

.page-cockfighting__text-block--note a {
  color: #2AD16F;
  text-decoration: none;
}

.page-cockfighting__text-block--note a:hover {
  text-decoration: underline;
}

/* Intro Section */
.page-cockfighting__intro-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
  color: #F2FFF6;
}

.page-cockfighting__image-with-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-cockfighting__content-image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid #2E7A4E;
}

.page-cockfighting__text-content {
  flex: 1;
  min-width: 300px;
}

/* Features Section */
.page-cockfighting__features-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG */
}

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

.page-cockfighting__card {
  background-color: #0A4B2C; /* Deep Green */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-cockfighting__card-title {
  font-size: 1.4em;
  color: #F2FFF6;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__card p {
  color: #A7D9B8;
  font-size: 1em;
}

/* Game Types Section */
.page-cockfighting__game-types-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
  text-align: center;
}

.page-cockfighting__grid--two-columns {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 40px;
}

.page-cockfighting__type-card {
  background-color: #11271B; /* Card BG */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E;
}

.page-cockfighting__type-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid #2E7A4E;
}

.page-cockfighting__type-title {
  font-size: 1.3em;
  color: #F2FFF6;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__type-card p {
  color: #A7D9B8;
  font-size: 0.95em;
}

.page-cockfighting__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

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

.page-cockfighting__guide-list li {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 25px;
  position: relative;
  counter-increment: step-counter;
  padding-left: 80px;
}

.page-cockfighting__guide-list li::before {
  content: "0" counter(step-counter);
  position: absolute;
  left: 20px;
  top: 20px;
  font-size: 2.5em;
  font-weight: bold;
  color: #2AD16F; /* Main color highlight */
  opacity: 0.6;
}

.page-cockfighting__guide-step-title {
  font-size: 1.5em;
  color: #F2FFF6;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__guide-list p {
  color: #A7D9B8;
  margin-bottom: 15px;
}

.page-cockfighting__guide-list a {
  color: #2AD16F;
  text-decoration: none;
}

.page-cockfighting__guide-list a:hover {
  text-decoration: underline;
}

.page-cockfighting__image-block {
  margin-top: 50px;
  text-align: center;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG */
}

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

.page-cockfighting__promo-card {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid #2E7A4E;
}

.page-cockfighting__promo-title {
  font-size: 1.4em;
  color: #F2FFF6;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__promo-card p {
  color: #A7D9B8;
  font-size: 1em;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Safety Section */
.page-cockfighting__safety-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

.page-cockfighting__safety-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-cockfighting__safety-list li {
  color: #A7D9B8;
  font-size: 1.1em;
  margin-bottom: 15px;
  position: relative;
  padding-left: 35px;
}

.page-cockfighting__safety-list li::before {
  content: '✔'; /* Placeholder for icon */
  position: absolute;
  left: 0;
  color: #2AD16F;
  font-size: 1.2em;
  top: 0;
}

/* Icon placeholders - actual icons would be SVG or font icons */
.page-cockfighting__icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 10px;
  background-color: #2AD16F; /* Placeholder color */
  border-radius: 50%;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG */
}

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

.page-cockfighting__faq-item {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-item summary {
  list-style: none;
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #F2FFF6;
  font-weight: 600;
  font-size: 1.1em;
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
}

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

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  color: #A7D9B8;
  font-size: 1em;
}

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

.page-cockfighting__faq-answer a {
  color: #2AD16F;
  text-decoration: none;
}

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

/* Call to Action Section */
.page-cockfighting__cta-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-cockfighting__hero-content {
    margin-top: 80px;
    padding: 30px;
  }

  .page-cockfighting__image-with-text {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-cockfighting__hero-content {
    margin-top: 60px;
    padding: 20px;
  }

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

  .page-cockfighting__subtitle {
    font-size: 1em;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-cockfighting__section-title {
    font-size: 1.6em;
    margin-bottom: 30px;
  }

  .page-cockfighting__sub-title {
    font-size: 1.2em;
  }

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

  .page-cockfighting__intro-section,
  .page-cockfighting__features-section,
  .page-cockfighting__game-types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__safety-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-section {
    padding: 50px 0;
  }

  .page-cockfighting__grid,
  .page-cockfighting__promo-grid,
  .page-cockfighting__grid--two-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__content-image,
  .page-cockfighting__type-image,
  .page-cockfighting__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
  }

  .page-cockfighting__guide-list li {
    padding-left: 20px;
    padding-top: 60px; /* Make space for number */
  }

  .page-cockfighting__guide-list li::before {
    top: 15px;
    left: 15px;
    font-size: 2em;
  }

  .page-cockfighting__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }

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

  /* Ensure all content containers are constrained */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__image-with-text,
  .page-cockfighting__grid,
  .page-cockfighting__promo-grid,
  .page-cockfighting__grid--two-columns,
  .page-cockfighting__type-card,
  .page-cockfighting__promo-card,
  .page-cockfighting__guide-list li,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-cockfighting__video-section {
    padding-top: 10px !important; /* body handles --header-offset */
  }
  /* Specific for video if present, ensure width: 100% on desktop, not just max-width */
  .page-cockfighting__video-container {
    width: 100%; /* Desktop width constraint */
    max-width: 1200px;
  }
}

/* General image rules to prevent small icons and ensure minimum size */
.page-cockfighting img:not(.page-cockfighting__icon) {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Ensures images fill their space without distorting */
}

/* Specific overrides for small icon placeholders if any, though none are allowed per instructions */
/* The instruction is to NOT use small icons at all, so this is a defensive rule */
/* .page-cockfighting__icon { width: 24px; height: 24px; min-width: unset; min-height: unset; } */