.page-cockfighting-culture-history {
  font-family: 'Arial', sans-serif;
  line-height: 1.7;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #0d0d0d; /* Inherits from shared.css, but ensure content contrast */
}

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

.page-cockfighting-culture-history__hero-intro-section {
  padding: 180px 0 80px; /* Desktop padding-top for fixed header */
  background: linear-gradient(135deg, var(--primary-color), #4a0000); /* Dark red gradient */
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-cockfighting-culture-history__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 25px;
  line-height: 1.2;
  color: #FFD700; /* Gold color for main title */
}

.page-cockfighting-culture-history__intro-text {
  font-size: 19px;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-cockfighting-culture-history__intro-text a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting-culture-history__intro-text a:hover {
  text-decoration: underline;
}

.page-cockfighting-culture-history__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700; /* Gold button */
  color: #000000; /* Dark text for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-culture-history__cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting-culture-history__section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Dark background for sections */
  color: #f0f0f0;
}

.page-cockfighting-culture-history__dark-bg {
  background-color: #0d0d0d; /* Even darker background for contrast */
  color: #f0f0f0;
}

.page-cockfighting-culture-history__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
  color: #FFD700; /* Gold color for section titles */
  position: relative;
  padding-bottom: 15px;
}

.page-cockfighting-culture-history__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color); /* Deep red line */
  border-radius: 2px;
}

.page-cockfighting-culture-history__content-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-cockfighting-culture-history__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-cockfighting-culture-history__text-block {
  flex: 1;
  font-size: 17px;
  line-height: 1.8;
}

.page-cockfighting-culture-history__text-block p {
  margin-bottom: 20px;
}

.page-cockfighting-culture-history__text-block a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting-culture-history__text-block a:hover {
  text-decoration: underline;
}

.page-cockfighting-culture-history__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting-culture-history__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

.page-cockfighting-culture-history__image--full-width {
  width: 100%;
  margin-top: 30px;
}

.page-cockfighting-culture-history__content-block {
  font-size: 17px;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
  color: #f0f0f0;
}

.page-cockfighting-culture-history__content-block p {
  margin-bottom: 20px;
}

.page-cockfighting-culture-history__content-block a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting-culture-history__content-block a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-cockfighting-culture-history__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-cockfighting-culture-history__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background-color: #1a1a1a; /* Darker background for FAQ items */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-culture-history__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: #cccccc;
}

.page-cockfighting-culture-history__faq-item.active .page-cockfighting-culture-history__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: #0d0d0d; /* Even darker for active answer */
  border-radius: 0 0 5px 5px;
}

.page-cockfighting-culture-history__faq-answer p {
  margin-bottom: 0;
}

.page-cockfighting-culture-history__faq-answer a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting-culture-history__faq-answer a:hover {
  text-decoration: underline;
}

.page-cockfighting-culture-history__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--primary-color); /* Primary color for question background */
  border: 1px solid #4a0000;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff;
}

.page-cockfighting-culture-history__faq-question:hover {
  background: #a00000;
  border-color: #6a0000;
}

.page-cockfighting-culture-history__faq-question:active {
  background: #b00000;
}

.page-cockfighting-culture-history__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #ffffff;
}

.page-cockfighting-culture-history__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700; /* Gold color for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-cockfighting-culture-history__faq-item.active .page-cockfighting-culture-history__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting-culture-history__main-title {
    font-size: 40px;
  }

  .page-cockfighting-culture-history__section-title {
    font-size: 30px;
  }

  .page-cockfighting-culture-history__content-grid {
    flex-direction: column;
    gap: 30px;
  }

  .page-cockfighting-culture-history__image-block {
    order: -1; /* Image appears above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-cockfighting-culture-history__hero-intro-section {
    padding: 160px 0 60px !important; /* Mobile padding-top for fixed header */
  }

  .page-cockfighting-culture-history__container {
    padding: 0 15px;
  }

  .page-cockfighting-culture-history__main-title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .page-cockfighting-culture-history__intro-text {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-cockfighting-culture-history__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }

  .page-cockfighting-culture-history__section {
    padding: 40px 0;
  }

  .page-cockfighting-culture-history__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-cockfighting-culture-history__text-block,
  .page-cockfighting-culture-history__content-block {
    font-size: 15px;
  }

  .page-cockfighting-culture-history img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-cockfighting-culture-history__section,
  .page-cockfighting-culture-history__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting-culture-history__faq-question {
    padding: 15px;
  }
  
  .page-cockfighting-culture-history__faq-question h3 {
    font-size: 16px;
  }

  .page-cockfighting-culture-history__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-cockfighting-culture-history__faq-item.active .page-cockfighting-culture-history__faq-answer {
    padding: 15px !important;
  }
}