/* style/cockfighting.css */

/* Base styles for the page */
.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light background */
  background-color: var(--background-color, #FFFFFF);
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-cockfighting__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 15px;
}

.page-cockfighting__text-block {
  font-size: 1em;
  margin-bottom: 15px;
  color: #333333;
}

.page-cockfighting__text-link {
  color: #26A9E0;
  text-decoration: underline;
}

/* Color contrast classes */
.page-cockfighting__dark-bg {
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff; /* White text for dark background */
}

.page-cockfighting__dark-bg .page-cockfighting__section-title,
.page-cockfighting__dark-bg .page-cockfighting__sub-title {
  color: #ffffff;
}

.page-cockfighting__light-bg {
  background-color: #ffffff; /* Auxiliary color / default white */
  color: #333333; /* Dark text for light background */
}

.page-cockfighting__medium-bg {
  background-color: #f5f5f5; /* Light grey for subtle contrast */
  color: #333333;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

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

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

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

.page-cockfighting__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1e87b9;
  border-color: #1e87b9;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Ensure hero section has a decent height */
}

.page-cockfighting__hero-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 40px auto; /* Image above text */
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__main-title {
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  /* Using clamp for responsive font-size */
  font-size: clamp(2.2em, 4vw, 3.5em);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__hero-description {
  font-size: 1.1em;
  color: #ffffff;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* General Content Sections */
.page-cockfighting__intro-section,
.page-cockfighting__types-section,
.page-cockfighting__guide-section,
.page-cockfighting__advantages-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
  padding: 60px 0;
}

.page-cockfighting__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 30px;
}

.page-cockfighting__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-cockfighting__faq-item details {
  padding: 0;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  font-size: 1.1em;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  list-style: none; /* Remove default marker for details summary */
}

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1em;
  color: #555555;
  background-color: #f9f9f9;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__sub-title {
    font-size: 1.5em;
  }
  .page-cockfighting__hero-section {
    padding: 60px 0;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
}

@media (max-width: 768px) {
  .page-cockfighting__section-title {
    font-size: 1.8em !important;
  }
  .page-cockfighting__sub-title {
    font-size: 1.3em !important;
  }
  .page-cockfighting__hero-section {
    padding: 40px 0 !important;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em) !important;
  }
  .page-cockfighting__hero-description {
    font-size: 1em !important;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 10px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-cockfighting__hero-cta-buttons,
  .page-cockfighting__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    padding: 0 15px;
  }

  /* Image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .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;
  }

  /* FAQ specific mobile styles */
  .page-cockfighting__faq-question {
    padding: 15px 20px !important;
    font-size: 1em !important;
  }
  .page-cockfighting__faq-answer {
    padding: 10px 20px 15px 20px !important;
  }

  /* Ensure main content padding is appropriate */
  .page-cockfighting__intro-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 30px 0 !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__section-title {
    font-size: 1.5em !important;
  }
  .page-cockfighting__sub-title {
    font-size: 1.2em !important;
  }
  .page-cockfighting__hero-section {
    padding: 30px 0 !important;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.5em, 7vw, 2em) !important;
  }
}