/* style/cockfighting.css */

/* Base styles for the cockfighting page */
.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  overflow: hidden;
  background-color: #0a0a0a; /* Ensure dark background for hero */
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -120px; /* Overlap slightly with image for visual flow */
  color: #ffffff;
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
}

.page-cockfighting__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

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

.page-cockfighting__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Section Titles */
.page-cockfighting__section-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0;
}

.page-cockfighting__sub-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #26A9E0;
}

/* Text Blocks */
.page-cockfighting__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-cockfighting__light-bg .page-cockfighting__text-block {
  color: #333333;
}

.page-cockfighting__light-bg a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-cockfighting__light-bg a:hover {
  color: #1e87b3;
}

/* Content Sections */
.page-cockfighting__introduction-section,
.page-cockfighting__rules-betting-section,
.page-cockfighting__safety-section,
.page-cockfighting__conclusion-section {
  padding: 60px 0;
  background-color: #f8f8f8;
  color: #333333;
}

.page-cockfighting__how-to-play-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section {
  padding: 60px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-cockfighting__introduction-section .page-cockfighting__section-title,
.page-cockfighting__rules-betting-section .page-cockfighting__section-title,
.page-cockfighting__safety-section .page-cockfighting__section-title,
.page-cockfighting__conclusion-section .page-cockfighting__section-title {
  color: #26A9E0;
}

.page-cockfighting__how-to-play-section .page-cockfighting__section-title,
.page-cockfighting__tips-section .page-cockfighting__section-title,
.page-cockfighting__faq-section .page-cockfighting__section-title {
  color: #ffffff;
}

/* Lists */
.page-cockfighting__numbered-list,
.page-cockfighting__bullet-list {
  margin-bottom: 20px;
  padding-left: 25px;
  color: #f0f0f0;
}

.page-cockfighting__light-bg .page-cockfighting__numbered-list,
.page-cockfighting__light-bg .page-cockfighting__bullet-list {
  color: #333333;
}

.page-cockfighting__numbered-list li,
.page-cockfighting__bullet-list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.page-cockfighting__numbered-list h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: #26A9E0;
}

/* Images within content */
.page-cockfighting__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 800px; /* Example max-width, adjust as needed */
  object-fit: cover;
}

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

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  background-color: #26A9E0; /* Use brand color for question background */
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-cockfighting__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
}

.page-cockfighting__faq-answer p {
  padding: 15px 0;
  margin: 0;
  color: #f0f0f0;
}

/* For details tag, native behavior */
.page-cockfighting__faq-item[open] .page-cockfighting__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding-bottom: 15px;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  content: '−';
}

.page-cockfighting__faq-item summary {
  list-style: none;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-cockfighting__hero-content {
    padding: 30px 15px;
    margin-top: -80px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .page-cockfighting__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

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

  .page-cockfighting__text-block,
  .page-cockfighting__numbered-list li,
  .page-cockfighting__bullet-list li {
    font-size: 0.95rem;
  }

  .page-cockfighting__introduction-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__rules-betting-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__safety-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 40px 0;
  }

  .page-cockfighting__container {
    padding: 0 15px;
  }

  /* Mobile 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,
  .page-cockfighting__hero-section,
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-cockfighting__faq-answer {
    padding: 0 20px;
  }

  .page-cockfighting__faq-answer p {
    padding: 10px 0;
  }
}