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

.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;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  margin-bottom: 40px;
}

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

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

.page-cockfighting__hero-content {
  width: 100%;
  max-width: 1200px;
  margin-top: -80px; /* Overlap slightly for visual effect */
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  box-sizing: border-box;
  z-index: 10;
  background: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid #2E7A4E; /* Border */
}

.page-cockfighting__main-title {
  font-size: clamp(2em, 3.5vw, 3em);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

.page-cockfighting__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  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: 700;
  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%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  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: transparent;
  color: #F2C14E; /* Gold */
  border: 2px solid #F2C14E; /* Gold */
}

.page-cockfighting__btn-secondary:hover {
  background: #F2C14E;
  color: #08160F; /* Background */
  transform: translateY(-3px);
}

.page-cockfighting__content-section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-cockfighting__light-bg {
  background-color: #0A4B2C; /* Deep Green for contrast */
  color: #F2FFF6; /* Text Main */
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-cockfighting__text-block {
  font-size: 1.05em;
  margin-bottom: 25px;
  line-height: 1.7;
  color: #A7D9B8; /* Text Secondary */
  text-align: justify;
}

.page-cockfighting__text-block:last-child {
  margin-bottom: 0;
}

.page-cockfighting__image-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px 0;
  justify-content: center;
}

.page-cockfighting__content-image {
  flex: 1 1 calc(50% - 10px);
  max-width: calc(50% - 10px);
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid #2E7A4E; /* Border */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Min size requirement */
}

.page-cockfighting__faq-section {
  padding: 60px 0;
}

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

.page-cockfighting__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #2E7A4E; /* Border */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  background-color: #13994A; /* Slightly darker green */
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  font-weight: 300;
  color: #F2C14E; /* Gold */
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
  background-color: #11271B; /* Card BG */
  line-height: 1.7;
}

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

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

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

  .page-cockfighting__content-image {
    flex: 1 1 calc(100% - 20px);
    max-width: calc(100% - 20px);
  }
}

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

  .page-cockfighting__hero-content {
    margin-top: -40px;
    padding: 20px;
    border-radius: 10px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

  .page-cockfighting__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0 auto; /* Center buttons */
  }

  .page-cockfighting__content-section {
    padding: 40px 0;
  }

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

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

  .page-cockfighting__image-row {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__content-image {
    flex: 1 1 100%;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 8px;
  }

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

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

  /* Ensure all containers have proper padding/width on mobile */
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__content-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__image-row,
  .page-cockfighting__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}