/* style/cockfighting.css */
.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #FFFFFF; /* Ensures consistency with body background */
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 60px 0;
  position: relative;
  overflow: hidden;
  background-color: #FFFFFF;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 20px;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
  color: #333333;
}

.page-cockfighting__main-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Responsive font size */
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-cockfighting__intro-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555555;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-primary:hover {
  background-color: #1a8ccb;
  border-color: #1a8ccb;
}

.page-cockfighting__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1a8ccb;
  border-color: #1a8ccb;
}

/* Video Section */
.page-cockfighting__video-section {
  background-color: #f8f8f8;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  text-align: center;
}

.page-cockfighting__video-container {
  width: 100%; /* Desktop width: 100% with max-width */
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background-color: #000000;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.page-cockfighting__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* General Section Styling */
.page-cockfighting__section-header {
  margin-bottom: 40px;
}

.page-cockfighting__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  margin-bottom: 15px;
  text-align: center;
  font-weight: 700;
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  color: #555555;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.page-cockfighting__info-section,
.page-cockfighting__bet-types,
.page-cockfighting__guide-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-cockfighting__dark-section {
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 60px 0;
}

.page-cockfighting__dark-section .page-cockfighting__section-title,
.page-cockfighting__dark-section .page-cockfighting__section-description,
.page-cockfighting__dark-section h3,
.page-cockfighting__dark-section p,
.page-cockfighting__dark-section li {
  color: #FFFFFF;
}

.page-cockfighting__content-area {
  padding: 20px 0;
}

.page-cockfighting__content-area h3 {
  font-size: 1.6em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-cockfighting__content-area p {
  margin-bottom: 15px;
}

.page-cockfighting__content-area strong {
  color: #000000;
}

.page-cockfighting__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 25px 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.page-cockfighting__feature-list,
.page-cockfighting__bet-list,
.page-cockfighting__strategy-list,
.page-cockfighting__promo-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-cockfighting__feature-list li,
.page-cockfighting__bet-list li,
.page-cockfighting__strategy-list li,
.page-cockfighting__promo-list li {
  background-color: #f0f8ff;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  font-size: 1.05em;
  color: #333333;
}

.page-cockfighting__guide-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-cockfighting__guide-list li {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #333333;
}

.page-cockfighting__guide-list li strong {
  color: #26A9E0;
}

.page-cockfighting__link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-cockfighting__link:hover {
  color: #1a8ccb;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 30px;
}

.page-cockfighting__faq-item {
  background-color: #f0f8ff;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-cockfighting__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: #26A9E0;
  font-size: 1.1em;
  border-bottom: 1px solid #e0e0e0; /* Add border for summary */
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

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

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

/* Bottom CTA */
.page-cockfighting__cta-bottom {
  text-align: center;
  padding: 80px 20px;
}

.page-cockfighting__cta-bottom .page-cockfighting__section-title {
  color: #FFFFFF;
}

.page-cockfighting__cta-bottom .page-cockfighting__section-description {
  color: #f0f8ff;
  margin-bottom: 40px;
}

.page-cockfighting__btn-large {
  padding: 16px 32px;
  font-size: 1.2em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-image-wrapper {
    max-height: 400px;
  }
}

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

  .page-cockfighting__container,
  .page-cockfighting__hero-content,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__info-section,
  .page-cockfighting__bet-types,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-bottom {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

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

  .page-cockfighting__hero-image-wrapper {
    max-height: 300px;
    margin-bottom: 15px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 7vw, 2.2em); /* Adjust for smaller screens */
  }

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

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

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

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

  .page-cockfighting__video-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
  }

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

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

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

  .page-cockfighting__content-area h3 {
    font-size: 1.4em;
  }

  .page-cockfighting__feature-list li,
  .page-cockfighting__bet-list li,
  .page-cockfighting__strategy-list li,
  .page-cockfighting__promo-list li,
  .page-cockfighting__guide-list li {
    padding: 12px 15px;
    font-size: 0.95em;
  }

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

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

  .page-cockfighting__cta-bottom {
    padding: 60px 15px;
  }

  .page-cockfighting__btn-large {
    font-size: 1.1em;
    padding: 14px 28px;
  }
}