/* style/cockfighting.css */

/* Base styles for the page-cockfighting scope */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Ensure consistency with body background */
  line-height: 1.6;
}

/* Header and Section Titles */
.page-cockfighting__main-title {
  font-weight: 700;
  line-height: 1.2;
  color: #26A9E0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px auto;
}

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

.page-cockfighting__content-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-cockfighting__sub-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px 20px; /* Small top padding, more bottom */
  overflow: hidden;
  background-color: #FFFFFF;
}

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

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

.page-cockfighting__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

/* Call to Action Buttons */
.page-cockfighting__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 300px; /* Limit button width */
}

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

.page-cockfighting__btn-primary:hover {
  background-color: #1e87b3;
  border-color: #1e87b3;
  transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1e87b3;
  border-color: #1e87b3;
  transform: translateY(-2px);
}

/* Video Section */
.page-cockfighting__video-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 */
  background-color: #26A9E0; /* Dark background for video section */
  color: #ffffff; /* Light text for dark background */
}

.page-cockfighting__video-section .page-cockfighting__section-title,
.page-cockfighting__video-section .page-cockfighting__section-description {
  color: #ffffff;
}

.page-cockfighting__video-wrapper {
  width: 100%; /* Desktop width: 100% alongside max-width */
  max-width: 1000px;
  margin: 30px auto;
  box-sizing: border-box;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__video-link {
  display: block;
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  cursor: pointer;
}

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

.page-cockfighting__cta-buttons--video {
  margin-top: 20px;
}

/* Content Area */
.page-cockfighting__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-cockfighting__text-block p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #444444;
}

.page-cockfighting__image-block {
  margin: 40px 0;
  text-align: center;
}

.page-cockfighting__content-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-cockfighting__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-item details > summary {
  list-style: none;
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: #eaf6fc;
  border-bottom: 1px solid #d0e8f8;
}

.page-cockfighting__faq-question:hover {
  background-color: #d0e8f8;
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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: 1em;
  line-height: 1.7;
  color: #555555;
  background-color: #ffffff;
}

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

.page-cockfighting__faq-answer a {
  color: #26A9E0;
  text-decoration: underline;
}

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

  .page-cockfighting__main-title {
    font-size: 2.5em;
  }

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

  .page-cockfighting__content-title {
    font-size: 1.6em;
  }

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

  .page-cockfighting__video-section,
  .page-cockfighting__content-area,
  .page-cockfighting__faq-section {
    padding: 40px 15px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__main-title {
    font-size: 1.8em; /* Adjusted for mobile, using font-weight and line-height for emphasis */
    margin-bottom: 15px;
  }

  .page-cockfighting__section-title {
    font-size: 1.6em;
    margin-bottom: 20px;
  }

  .page-cockfighting__content-title {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-cockfighting__sub-title {
    font-size: 1.2em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-cockfighting__description,
  .page-cockfighting__section-description,
  .page-cockfighting p,
  .page-cockfighting li {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 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: 12px 20px;
  }

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

  .page-cockfighting__video-section {
    padding: 30px 15px !important; /* body already handles --header-offset */
    padding-top: 10px !important;
  }
  
  .page-cockfighting__video-wrapper {
    margin: 20px auto;
  }

  .page-cockfighting__content-area,
  .page-cockfighting__faq-section {
    padding: 30px 15px;
  }

  .page-cockfighting__image-block {
    margin: 30px 0;
  }

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

  /* Mobile video responsiveness */
  .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;
  }

  /* Ensure all content containers are responsive */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 1.5em;
  }

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

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

  .page-cockfighting__sub-title {
    font-size: 1.1em;
  }
}