/* style/cockfighting.css */
.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f8f9fa; /* Light background for contrast */
}

.page-cockfighting__dark-section {
  background-color: #0A1931;
  color: #ffffff;
}

.page-cockfighting__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-cockfighting__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  position: relative;
  overflow: hidden;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-cockfighting__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #E0B400;
  line-height: 1.2;
}

.page-cockfighting__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1em;
  text-align: center;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background-color: #E0B400;
  color: #0A1931;
  border: 2px solid #E0B400;
}

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

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #E0B400;
  border: 2px solid #E0B400;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #E0B400;
  color: #0A1931;
}

.page-cockfighting__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-cockfighting__video-section {
  padding: 60px 20px;
  text-align: center;
}

.page-cockfighting__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 30px auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
  box-sizing: border-box;
}

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

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

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  margin-bottom: 25px;
  color: #0A1931;
  text-align: center;
}

.page-cockfighting__dark-section .page-cockfighting__section-title {
  color: #E0B400;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-cockfighting__sub-title {
  font-size: 2em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #0A1931;
}

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__list-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

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

.page-cockfighting__list-title {
  font-size: 1.5em;
  color: #0A1931;
  margin-bottom: 10px;
}

.page-cockfighting__list-item p {
  font-size: 1em;
  color: #555555;
  text-align: justify;
}

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

.page-cockfighting__numbered-list .page-cockfighting__list-item {
  background: none;
  box-shadow: none;
  padding: 10px 0;
  text-align: left;
  display: list-item;
  margin-left: 20px;
}

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

.page-cockfighting__feature-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  color: #333333;
}

.page-cockfighting__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-cockfighting__feature-title {
  font-size: 1.4em;
  color: #0A1931;
  margin-bottom: 10px;
}

.page-cockfighting__feature-item p {
  font-size: 0.95em;
  color: #555555;
}

.page-cockfighting__faq-list {
  margin-top: 40px;
  border-top: 1px solid #eee;
}

.page-cockfighting__faq-item {
  border-bottom: 1px solid #eee;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 1.2em;
  font-weight: bold;
  color: #0A1931;
  cursor: pointer;
  transition: color 0.3s ease;
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  color: #E0B400;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px;
}

.page-cockfighting__faq-answer p {
  font-size: 1em;
  color: #555555;
  padding-bottom: 15px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 2.8em;
  }
  .page-cockfighting__section-title {
    font-size: 2.2em;
  }
  .page-cockfighting__sub-title {
    font-size: 1.8em;
  }
  .page-cockfighting__list,
  .page-cockfighting__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__hero-section {
    padding: 60px 15px 30px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-cockfighting__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .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 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-cockfighting__video-section,
  .page-cockfighting__content-area,
  .page-cockfighting__cta-bottom {
    padding: 40px 0;
  }
  .page-cockfighting__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-cockfighting__sub-title {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-cockfighting__list,
  .page-cockfighting__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__list-item,
  .page-cockfighting__feature-item {
    padding: 20px;
  }
  .page-cockfighting__list-image,
  .page-cockfighting__feature-icon {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__video-wrapper {
    margin: 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px 0;
  }
  .page-cockfighting__faq-answer {
    padding: 0 10px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 10px;
  }
}

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

/* Ensure all images adhere to minimum size and no small icons */
.page-cockfighting img {
  min-width: 200px;
  min-height: 200px;
}

/* Specific overrides for feature icons to allow smaller visual but still large file */
.page-cockfighting__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  min-width: unset; /* Allow smaller display size for icons */
  min-height: unset;
}

/* Ensure content area images are large */
.page-cockfighting__list-image {
  min-width: 200px;
  min-height: 200px;
}

/* Remove filter from images as per instruction, except for hero background which needs darkening */
.page-cockfighting img:not(.page-cockfighting__hero-image) {
  filter: none;
}

/* General text color for content */
.page-cockfighting p,
.page-cockfighting li {
  color: #333333; /* Ensure readability */
}

.page-cockfighting__dark-section p,
.page-cockfighting__dark-section li {
  color: #f0f0f0; /* Light text on dark background */
}