.page-cockfighting-history {
  --primary-brand-color: #26A9E0;
  --secondary-brand-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --button-login-color: #EA7C07;
}

/* Hero Section */
.page-cockfighting-history__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  min-height: 500px;
  overflow: hidden;
  color: var(--text-light);
  background-color: var(--primary-brand-color);
  position: relative;
}

.page-cockfighting-history__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.page-cockfighting-history__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-cockfighting-history__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-cockfighting-history__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-light);
}

/* General Content Sections */
.page-cockfighting-history__content-section {
  padding: 80px 20px;
  color: var(--text-dark);
}

.page-cockfighting-history__container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-cockfighting-history__section-title {
  font-size: 2.5em;
  color: var(--primary-brand-color);
  margin-bottom: 30px;
  text-align: center;
}

.page-cockfighting-history__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-cockfighting-history__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting-history__text-link {
  color: var(--primary-brand-color);
  text-decoration: underline;
  font-weight: bold;
  display: block;
  margin-top: 10px;
}

.page-cockfighting-history__text-link:hover {
  color: #1a7bbd;
}

/* Call to Action Section */
.page-cockfighting-history__cta-section {
  background-color: var(--primary-brand-color);
  color: var(--text-light);
  padding: 80px 20px;
  text-align: center;
}

.page-cockfighting-history__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-cockfighting-history__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-cockfighting-history__cta-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 40px;
  color: var(--text-light);
}

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

/* Buttons */
.page-cockfighting-history__btn-primary,
.page-cockfighting-history__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting-history__btn-primary {
  background-color: var(--button-login-color); /* Sử dụng màu đăng nhập */
  color: var(--text-light);
  border: 2px solid var(--button-login-color);
}

.page-cockfighting-history__btn-primary:hover {
  background-color: #d16e06;
  border-color: #d16e06;
}

.page-cockfighting-history__btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.page-cockfighting-history__btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-brand-color);
}

/* FAQ Section */
.page-cockfighting-history__faq-section {
  padding: 80px 20px;
  background-color: var(--secondary-brand-color);
  color: var(--text-dark);
}

.page-cockfighting-history__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-cockfighting-history__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting-history__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--primary-brand-color);
  cursor: pointer;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

.page-cockfighting-history__faq-question:hover {
  background-color: #f0f0f0;
}

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

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

.page-cockfighting-history__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: var(--secondary-brand-color);
  color: var(--text-dark);
}

.page-cockfighting-history__faq-item.active .page-cockfighting-history__faq-answer {
  max-height: 1000px !important; /* Đủ lớn để chứa nội dung */
  padding: 15px 25px;
}

.page-cockfighting-history__faq-answer p {
  margin: 0;
  line-height: 1.7;
}

/* Color Contrast Classes */
.page-cockfighting-history__dark-bg {
  background-color: var(--primary-brand-color);
  color: var(--text-light);
}

.page-cockfighting-history__light-bg {
  background-color: var(--secondary-brand-color);
  color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting-history__hero-title {
    font-size: 3em;
  }
  .page-cockfighting-history__section-title {
    font-size: 2em;
  }
  .page-cockfighting-history__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting-history__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-cockfighting-history__hero-title {
    font-size: 2.2em;
  }
  .page-cockfighting-history__hero-description {
    font-size: 1em;
  }
  .page-cockfighting-history__content-section {
    padding: 50px 15px;
  }
  .page-cockfighting-history__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting-history__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting-history__paragraph {
    font-size: 0.95em;
  }
  .page-cockfighting-history__cta-section {
    padding: 50px 15px;
  }
  .page-cockfighting-history__cta-title {
    font-size: 1.8em;
  }
  .page-cockfighting-history__cta-description {
    font-size: 0.95em;
  }
  .page-cockfighting-history__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting-history__btn-primary,
  .page-cockfighting-history__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-cockfighting-history__faq-section {
    padding: 50px 15px;
  }
  .page-cockfighting-history__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-cockfighting-history__faq-answer {
    padding: 0 20px;
  }
  .page-cockfighting-history__faq-item.active .page-cockfighting-history__faq-answer {
    padding: 15px 20px;
  }
  /* Mobile image and video responsiveness */
  .page-cockfighting-history img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting-history video,
  .page-cockfighting-history__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting-history__video-section,
  .page-cockfighting-history__video-container,
  .page-cockfighting-history__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}