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

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small decorative top margin */
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #0A4B2C 0%, #08160F 100%); /* Deep Green to Background */
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 20px;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-content {
  max-width: 900px;
  padding: 20px;
  z-index: 1;
}

.page-cockfighting__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

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

.page-cockfighting__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  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: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Button top color */
  border: 2px solid #2E7A4E; /* Border */
}

.page-cockfighting__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  color: #F2FFF6; /* Text Main */
  transform: translateY(-2px);
}

.page-cockfighting__section {
  padding: 80px 20px;
  text-align: center;
}

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

.page-cockfighting__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  display: inline-block;
}

.page-cockfighting__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2AD16F 0%, #13994A 100%);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-cockfighting__text-block {
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
  max-width: 900px;
  margin: 0 auto 30px auto;
  line-height: 1.7;
}

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

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

.page-cockfighting__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px #57E38D; /* Glow */
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-cockfighting__ordered-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-cockfighting__list-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-cockfighting__list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px #57E38D; /* Glow */
}

.page-cockfighting__list-title {
  font-size: 1.4em;
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
}

.page-cockfighting__list-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
  line-height: 1.6;
}

.page-cockfighting__list-button {
  margin-top: 15px;
  align-self: flex-start;
}

.page-cockfighting__faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.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-item summary {
  list-style: none; /* Remove default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-cockfighting__faq-item summary:hover {
  background-color: #1E3A2A; /* Divider */
}

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

.page-cockfighting__faq-answer {
  padding: 0 30px 20px 30px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
  line-height: 1.6;
}

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

.page-cockfighting__faq-button {
  margin-top: 15px;
}

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

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

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

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

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

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

  .page-cockfighting__hero-section {
    padding: 30px 15px;
  }

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

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

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

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

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

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

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

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

  .page-cockfighting__card {
    padding: 25px;
  }

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

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

  .page-cockfighting__list-item {
    padding: 25px;
  }

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

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

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

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

  /* Mobile responsive image & video rules */
  .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;
  }

  .page-cockfighting__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

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