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

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

.page-cockfighting__section {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles header offset, this is just small decorative top padding */
  overflow: hidden;
}

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

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(17, 39, 27, 0.85); /* Card BG with opacity */
  border-radius: 10px;
  margin-top: -80px; /* Overlap slightly with image for visual effect, but not covering text */
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: bold;
  color: #F2FFF6;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-cockfighting__hero-description {
  font-size: 1.15rem;
  color: #A7D9B8;
  margin-bottom: 30px;
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: bold;
  color: #F2FFF6;
  margin-bottom: 40px;
  text-align: center;
}

.page-cockfighting__text-block {
  font-size: 1.05rem;
  color: #F2FFF6;
  margin-bottom: 20px;
  text-align: left;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  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: none;
}

.page-cockfighting__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  background: #11271B;
  color: #F2FFF6;
  border: 2px solid #2E7A4E;
}

.page-cockfighting__btn-secondary:hover {
  background: #2E7A4E;
  color: #F2FFF6;
}

.page-cockfighting__btn-large {
  padding: 18px 40px;
  font-size: 1.2rem;
}

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

.page-cockfighting__card {
  background-color: #11271B;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border: 1px solid #2E7A4E;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #F2FFF6;
}

.page-cockfighting__card-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__card-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #F2FFF6;
  margin-bottom: 15px;
}

.page-cockfighting__card-text {
  font-size: 1rem;
  color: #A7D9B8;
  text-align: left;
}

.page-cockfighting__steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-cockfighting__step-item {
  background-color: #11271B;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border: 1px solid #2E7A4E;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-cockfighting__step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-cockfighting__step-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #F2FFF6;
  margin-bottom: 10px;
}

.page-cockfighting__step-description {
  font-size: 1rem;
  color: #A7D9B8;
}

.page-cockfighting__step-description a {
  color: #57E38D;
  text-decoration: none;
}

.page-cockfighting__step-description a:hover {
  text-decoration: underline;
}

.page-cockfighting__cta-wrapper {
  margin-top: 40px;
}

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

.page-cockfighting__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #F2FFF6;
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green for question background */
  border-bottom: 1px solid #1E3A2A;
}

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  color: #57E38D;
  transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #A7D9B8;
  line-height: 1.6;
}

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

.page-cockfighting__cta-final {
  background-color: #0A4B2C;
  padding: 80px 0;
}

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

@media (max-width: 768px) {
  .page-cockfighting__section {
    padding: 40px 0;
  }

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

  .page-cockfighting__hero-content {
    margin-top: -40px;
    padding: 25px 15px;
    max-width: calc(100% - 30px);
  }

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

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

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

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

  .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: 1rem;
  }

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

  .page-cockfighting__card {
    padding: 20px;
  }

  .page-cockfighting__card-image {
    max-height: 200px;
  }

  .page-cockfighting__card-title {
    font-size: 1.3rem;
  }

  .page-cockfighting__steps-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__step-item {
    padding: 20px;
  }

  .page-cockfighting__step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .page-cockfighting__step-title {
    font-size: 1.2rem;
  }

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

  .page-cockfighting__faq-toggle {
    font-size: 1.5rem;
  }

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

  /* Mobile specific image and video responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is small decorative padding */
  }

  .page-cockfighting__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-cockfighting__cta-buttons > * {
    flex: 1 1 100%;
  }
}