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

/* 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 */
  text-align: center;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height for desktop hero */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px; /* Space between image and content */
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-cockfighting__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1; /* Ensure text is above any background elements if layered */
  color: #F2FFF6;
}

.page-cockfighting__hero-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  width: 100%; /* Ensure container takes full width */
  max-width: 400px; /* Limit button group width */
  margin: 0 auto;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

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

.page-cockfighting__btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(42, 209, 111, 0.1);
}

.page-cockfighting__btn-small {
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-cockfighting__btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
}

/* General Section Styling */
.page-cockfighting__section {
  padding: 60px 20px;
  margin: 0 auto;
}

.page-cockfighting__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  color: #F2FFF6;
}

.page-cockfighting__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Gold */
}

.page-cockfighting__text-block {
  max-width: 900px;
  margin: 0 auto 20px auto;
  font-size: 1.05em;
  color: #A7D9B8;
}

/* Background variations */
.page-cockfighting__dark-bg {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-cockfighting__light-bg {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
}

.page-cockfighting__dark-section {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
}

/* Feature Grid */
.page-cockfighting__feature-grid, .page-cockfighting__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

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

.page-cockfighting__card-image {
  width: 100%;
  max-width: 400px; /* Adjust based on card width */
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 20px auto;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-cockfighting__card-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
  flex-grow: 1;
}

.page-cockfighting__card-description {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
}

/* Guide Section */
.page-cockfighting__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__step-card {
  text-align: left;
  padding: 30px;
}

.page-cockfighting__step-card .page-cockfighting__btn-primary,
.page-cockfighting__step-card .page-cockfighting__btn-secondary {
    margin-top: 20px;
    width: 100%;
}

.page-cockfighting__step-title {
  font-size: 1.5em;
  color: #2AD16F;
  margin-bottom: 15px;
}

/* CTA Block */
.page-cockfighting__cta-block {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #2E7A4E;
}

.page-cockfighting__cta-text {
  font-size: 1.2em;
  margin-bottom: 25px;
  color: #F2FFF6;
}

/* Support Section */
.page-cockfighting__support-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  color: #F2FFF6;
}

.page-cockfighting__support-image {
  flex: 1 1 400px;
  max-width: 50%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-cockfighting__support-text-block {
  flex: 1 1 400px;
  color: #A7D9B8;
}

.page-cockfighting__support-text-block p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-cockfighting__support-text-block .page-cockfighting__btn-primary {
  margin-top: 20px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
  color: #F2FFF6;
}

.page-cockfighting__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-cockfighting__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
  color: #F2FFF6;
}

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

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

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

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

.page-cockfighting__faq-answer {
  padding: 0 25px 18px 25px;
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question .page-cockfighting__faq-toggle {
  content: '−';
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #08160F; /* Background */
  color: #F2FFF6;
}

.page-cockfighting__conclusion-section .page-cockfighting__text-block {
    margin-bottom: 40px;
}

/* General Image Styling */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive Styling */
@media (max-width: 1024px) {
  .page-cockfighting__hero-image-wrapper {
    max-height: 500px;
  }
  .page-cockfighting__support-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

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

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

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

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__btn-primary, .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__section {
    padding: 40px 15px;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.5em, 7vw, 2.2em);
    margin-bottom: 30px;
  }

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

  .page-cockfighting__feature-grid, .page-cockfighting__tips-grid, .page-cockfighting__guide-steps {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__card {
    padding: 25px;
  }

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

  .page-cockfighting__card-description {
    font-size: 0.9em;
  }

  .page-cockfighting__support-section {
    flex-direction: column;
    gap: 30px;
    padding: 40px 15px;
  }

  .page-cockfighting__support-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-cockfighting__support-text-block {
    font-size: 0.95em;
  }

  .page-cockfighting__faq-section {
    padding: 40px 15px;
  }

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

  .page-cockfighting__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.9em;
  }

  .page-cockfighting__cta-block {
    padding: 25px 15px;
  }

  .page-cockfighting__cta-text {
    font-size: 1.1em;
  }

  /* Mobile specific image and video rules */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__feature-grid,
  .page-cockfighting__guide-steps,
  .page-cockfighting__tips-grid,
  .page-cockfighting__support-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section,
  .page-cockfighting__support-text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

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

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

  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: clamp(1.6em, 9vw, 2.2em);
  }
  .page-cockfighting__btn-large {
    font-size: 1em;
    padding: 12px 20px;
  }
  .page-cockfighting__faq-question {
    font-size: 0.95em;
  }
}