/* style/cockfighting.css */

/* Base styling for the page */
.page-cockfighting {
  font-family: Arial, sans-serif;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body handles the #0a0a0a background */
  line-height: 1.6;
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px; /* Space between image and text */
}

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

.page-cockfighting__hero-content {
  max-width: 900px;
  width: 100%; /* Ensure content takes full width up to max-width */
  z-index: 1; /* Ensure text is above any potential background elements */
}

.page-cockfighting__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 15px;
  letter-spacing: -0.02em;
}

.page-cockfighting__description {
  font-size: clamp(1em, 2vw, 1.2em);
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  color: #333333; /* Dark text for light background sections */
}

.page-cockfighting__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  color: #26A9E0; /* Brand color for titles */
  margin-bottom: 40px;
}

.page-cockfighting__sub-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  font-weight: 600;
  color: #26A9E0; /* Brand color for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-cockfighting__text-block {
  max-width: 900px;
  margin: 0 auto 30px;
  text-align: left;
}

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

.page-cockfighting__list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  text-align: left;
}

.page-cockfighting__list li {
  margin-bottom: 8px;
}

/* Card Grid Layout */
.page-cockfighting__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.page-cockfighting__grid-container--2-col {
  grid-template-columns: 1fr 1fr;
}

.page-cockfighting__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark sections */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  color: #ffffff; /* Light text for dark background */
}

.page-cockfighting__card-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-cockfighting__card-title {
  font-size: clamp(1.2em, 2vw, 1.8em);
  font-weight: 600;
  color: #26A9E0; /* Brand color */
  margin-bottom: 15px;
}

.page-cockfighting__card p {
  font-size: 1em;
  line-height: 1.5;
}

/* Steps Grid Layout */
.page-cockfighting__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.page-cockfighting__step-card {
  background: #ffffff; /* White background for light section */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  color: #333333; /* Dark text for light background */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__step-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-cockfighting__step-title {
  font-size: clamp(1.1em, 1.8vw, 1.5em);
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
}

/* Features Grid Layout */
.page-cockfighting__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

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

.page-cockfighting__feature-image {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-cockfighting__feature-title {
  font-size: clamp(1.1em, 1.8vw, 1.5em);
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
}

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

.page-cockfighting__cta-buttons--center {
  margin-top: 40px;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box; /* Important for button responsiveness */
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

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

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

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

.page-cockfighting__btn-secondary:hover {
  background: #f0f0f0;
  color: #1e87b7;
  border-color: #1e87b7;
}

/* Dark background sections */
.page-cockfighting__dark-section {
  background-color: #0d0d0d; /* Slightly lighter than body bg for distinction */
  color: #ffffff;
}

/* Highlight text */
.page-cockfighting__highlight {
  color: #EA7C07; /* Login color as highlight */
  font-weight: bold;
}

.page-cockfighting__link {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting__link:hover {
  text-decoration: underline;
  color: #1e87b7;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 60px 20px;
  background-color: #0d0d0d; /* Dark background */
  color: #ffffff;
}

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

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly visible background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-cockfighting__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-weight: 600;
  font-size: 1.1em;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly darker on summary */
  color: #ffffff;
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-cockfighting__faq-answer {
  padding: 15px 25px 20px;
  font-size: 0.95em;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  padding: 60px 20px;
  background-color: #ffffff;
  color: #333333;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-cockfighting__grid-container--2-col {
    grid-template-columns: 1fr; /* Stack on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 10px 15px 40px;
  }

  .page-cockfighting__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-cockfighting__main-title {
    font-size: 2.2em; /* Ensure readability on mobile */
  }

  .page-cockfighting__description {
    font-size: 1em;
  }

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

  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

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

  /* Images responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containing elements for images/videos/buttons */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .page-cockfighting__grid-container,
  .page-cockfighting__steps-grid,
  .page-cockfighting__features-grid,
  .page-cockfighting__faq-list,
  .page-cockfighting__text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Videos responsiveness (if any) */
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Buttons responsiveness */
  .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 for text inside button */
    padding-right: 15px; /* Add padding for text inside button */
  }
  
  .page-cockfighting__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }

  .page-cockfighting__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }
  
  .page-cockfighting__faq-answer {
    padding: 10px 20px 15px;
  }
  
  /* Ensure content area images are at least 200px */
  .page-cockfighting__card-image,
  .page-cockfighting__step-image,
  .page-cockfighting__feature-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}