/* style/g.css */

/* --- General Styles --- */
.page-cockfighting {
  background-color: var(--site-bg, #08160F); /* Fallback to custom dark green */
  color: var(--text-main, #F2FFF6); /* Main text color for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Ensure all links within main content are visible on dark background */
.page-cockfighting a {
  color: #2AD16F; /* A vibrant green for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting a:hover {
  color: #57E38D; /* Glow color on hover */
  text-decoration: underline;
}

/* --- Section Styling --- */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  padding-bottom: 60px; /* Space below content */
  background-color: #08160F; /* Ensure hero background is dark */
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-cockfighting__hero-content {
  position: relative; /* Not absolute to avoid overlaying image */
  text-align: center;
  padding: 20px;
  max-width: 900px;
  margin-top: 20px; /* Space between image and content */
  z-index: 2; /* Ensure content is above any potential background elements */
}

.page-cockfighting__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: #F2FFF6; /* Main text color */
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 1px;
}

.page-cockfighting__hero-description {
  font-size: 1.2rem;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, larger bottom padding */
  background-color: #08160F;
}

.page-cockfighting__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background-color: #000; /* Black background for video loading */
  border-radius: 10px;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer; /* Indicate clickable */
}

.page-cockfighting__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #F2FFF6;
  padding: 20px;
  box-sizing: border-box;
}

.page-cockfighting__video-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 15px;
  color: #F2FFF6;
}

.page-cockfighting__video-text {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #A7D9B8;
  max-width: 700px;
}

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

.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-cockfighting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #11A84E, #22C768);
  border-radius: 2px;
}

.page-cockfighting__text-block {
  margin-bottom: 30px;
  color: #A7D9B8;
  font-size: 1.1rem;
}

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

.page-cockfighting__text-block strong {
  color: #F2FFF6;
}

.page-cockfighting__image-text-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  margin-top: 40px;
}

.page-cockfighting__content-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-cockfighting__list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #A7D9B8;
  font-size: 1.1rem;
}

.page-cockfighting__list li::before {
  content: '✔'; /* Custom bullet point */
  color: #22C768;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.page-cockfighting__list--ordered {
  list-style: decimal;
  padding-left: 25px;
}

.page-cockfighting__list--ordered li::before {
  content: none; /* Remove custom bullet for ordered list */
}

.page-cockfighting__list--ordered li {
  padding-left: 0;
}

.page-cockfighting__sub-list {
  list-style: disc;
  padding-left: 20px;
  margin-top: 10px;
}

.page-cockfighting__sub-list li {
  color: #A7D9B8;
  font-size: 1rem;
}

.page-cockfighting__sub-list li::before {
  content: none;
}

.page-cockfighting__dark-section {
  background-color: #11271B; /* Card BG color */
  padding: 60px 20px;
  border-radius: 10px;
  margin: 40px auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

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

.page-cockfighting__dark-section .page-cockfighting__text-block,
.page-cockfighting__dark-section .page-cockfighting__list li {
  color: #A7D9B8;
}

/* --- CTA Button Styling --- */
.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Button text color */
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-cockfighting__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  background: linear-gradient(180deg, #57E38D 0%, #2AD16F 100%); /* Glow on hover */
}

.page-cockfighting__cta-button--center {
  display: block;
  margin: 30px auto 0;
  text-align: center;
  max-width: 300px; /* Limit width for center button */
}

.page-cockfighting__cta-button--large {
  padding: 18px 35px;
  font-size: 1.3rem;
  max-width: 400px;
}

.page-cockfighting__cta-button--small {
  padding: 12px 25px;
  font-size: 1rem;
}

/* --- FAQ Section --- */
.page-cockfighting__faq-list {
  margin-top: 40px;
  background-color: #11271B;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid #1E3A2A; /* Divider color */
  padding-bottom: 15px;
}

.page-cockfighting__faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2FFF6;
  list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #22C768;
  margin-left: 10px;
}

.page-cockfighting__faq-answer {
  padding: 10px 0 15px;
  color: #A7D9B8;
  font-size: 1rem;
  line-height: 1.7;
}

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

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  .page-cockfighting__hero-description {
    font-size: 1.1rem;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
}

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

  /* Sections */
  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }
  .page-cockfighting__video-section {
    padding: 10px 15px 40px; /* Adjusted padding for mobile */
  }
  .page-cockfighting__content-area {
    padding: 40px 15px; /* Adjusted padding for mobile */
  }
  .page-cockfighting__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-cockfighting__hero-description {
    font-size: 1rem;
  }
  .page-cockfighting__video-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  .page-cockfighting__video-text {
    font-size: 0.95rem;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }
  .page-cockfighting__text-block {
    font-size: 1rem;
  }
  .page-cockfighting__list li {
    font-size: 1rem;
  }
  .page-cockfighting__image-text-block {
    flex-direction: column;
  }
  .page-cockfighting__dark-section {
    margin: 30px auto;
    padding: 40px 15px;
  }

  /* Images responsiveness (mandatory) */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Video responsiveness (mandatory) */
  .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: 0 !important; /* Container handles padding */
    padding-right: 0 !important; /* Container handles padding */
    overflow: hidden !important;
  }

  /* Buttons responsiveness (mandatory) */
  .page-cockfighting__cta-button,
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px; /* Add padding to button itself */
    padding-right: 15px; /* Add padding to button itself */
  }

  .page-cockfighting__cta-button--center,
  .page-cockfighting__cta-button--large {
    max-width: 100% !important; /* Ensure it takes full width */
  }

  /* Containers for images, videos, buttons (mandatory) */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .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; /* Add padding to ensure content is not edge-to-edge */
    padding-right: 15px; /* Add padding to ensure content is not edge-to-edge */
    overflow: hidden !important;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
  }

  .page-cockfighting__faq-question {
    font-size: 1rem;
    padding: 10px 0;
  }
  .page-cockfighting__faq-answer {
    font-size: 0.95rem;
  }
}