/* style/cockfighting.css */

/* Base styles for the page content, ensuring light text on dark background */
.page-cockfighting {
  font-family: Arial, sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
  font-size: 16px;
}

/* Section specific styles */
.page-cockfighting__hero-section,
.page-cockfighting__online-platform-section,
.page-cockfighting__strategy-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-final-section {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-cockfighting__history-section,
.page-cockfighting__betting-guide-section,
.page-cockfighting__promotions-section {
  background-color: #11271B; /* Card BG, used for lighter sections */
  color: #F2FFF6; /* Text Main */
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden; /* Ensure content doesn't overflow */
}

/* Content area for max-width */
.page-cockfighting__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box; /* Ensure padding is included in width */
}

/* Hero section specific */
.page-cockfighting__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
}

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

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

.page-cockfighting__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Titles */
.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 3rem); /* Responsive H2 font size */
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-cockfighting__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem); /* Responsive H3 font size */
  font-weight: bold;
  color: #57E38D; /* Glow */
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* Text blocks */
.page-cockfighting__text-block {
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Images */
.page-cockfighting__image-wrapper {
  margin: 30px auto;
  max-width: 100%;
  display: block;
}

.page-cockfighting__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

/* Lists */
.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px auto;
  max-width: 900px;
  text-align: left;
}

.page-cockfighting__numbered-list {
  list-style-type: decimal;
  padding-left: 20px;
  margin: 0 auto 30px auto;
  max-width: 900px;
  text-align: left;
  color: #F2FFF6; /* Text Main */
}

.page-cockfighting__list-item {
  margin-bottom: 10px;
  color: #F2FFF6; /* Text Main */
}

.page-cockfighting__list-item strong {
  color: #57E38D; /* Glow */
}

/* Buttons */
.page-cockfighting__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Ensure padding is included in width */
  max-width: 100%; /* Ensure button adapts to container */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #57E38D;
  box-shadow: 0 4px 15px rgba(87, 227, 141, 0.2);
}

.page-cockfighting__btn-secondary:hover {
  background-color: rgba(87, 227, 141, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(87, 227, 141, 0.4);
}

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

.page-cockfighting__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-item summary {
  list-style: none; /* Remove default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  font-size: 1.1rem;
  background-color: #0A4B2C; /* Deep Green */
  transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-item summary:hover {
  background-color: #13994A; /* Slightly lighter green on hover */
}

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E; /* Gold */
}

.page-cockfighting__faq-answer {
  padding: 20px;
  padding-top: 0;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
  line-height: 1.7;
}

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

/* General Link Styling for content area */
.page-cockfighting a {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

.page-cockfighting a:hover {
  color: #F2C14E; /* Gold */
  text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 15px;
  }

  .page-cockfighting__hero-section,
  .page-cockfighting__online-platform-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-final-section,
  .page-cockfighting__history-section,
  .page-cockfighting__betting-guide-section,
  .page-cockfighting__promotions-section {
    padding: 40px 15px;
  }

  .page-cockfighting__main-title {
    font-size: 2.2rem;
  }

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

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

  .page-cockfighting__description,
  .page-cockfighting__text-block,
  .page-cockfighting__list-item,
  .page-cockfighting__faq-answer p {
    font-size: 1rem;
    text-align: left; /* Ensure text alignment for better readability on mobile */
  }

  .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: 1rem;
  }

  /* Mobile image and container responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce min size even on mobile */
    min-height: 200px !important; /* Enforce min size even on mobile */
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__image-wrapper,
  .page-cockfighting__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  /* Specific padding for hero section on mobile */
  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* body already handles header offset */
    padding-left: 15px;
    padding-right: 15px;
  }

  /* FAQ item adjustments */
  .page-cockfighting__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }
  .page-cockfighting__faq-answer {
    padding: 15px;
    padding-top: 0;
  }
}

/* Ensure content area images are at least 200px */
.page-cockfighting__content-area img,
.page-cockfighting__online-platform-section img,
.page-cockfighting__strategy-section img,
.page-cockfighting__promotions-section img {
  min-width: 200px;
  min-height: 200px;
}