.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  line-height: 1.6;
}

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

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Apply header offset */
}

.page-cockfighting__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.page-cockfighting__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 0;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  max-width: 900px;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #E3B505;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #E3B505;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-cockfighting__section-subtitle {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 60px;
  color: #f0f0f0;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background-color: #E3B505;
  color: #0A2463;
  border: 2px solid #E3B505;
}

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

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

.page-cockfighting__btn-secondary:hover {
  background-color: #E3B505;
  color: #0A2463;
}

.page-cockfighting__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #0A2463;
  color: #E3B505;
  border: 1px solid #E3B505;
  margin-top: 15px;
}

.page-cockfighting__btn-small:hover {
  background-color: #E3B505;
  color: #0A2463;
}

.page-cockfighting__intro-section,
.page-cockfighting__guide-section,
.page-cockfighting__tips-section,
.page-cockfighting__promo-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-section {
  padding: 80px 0;
}

.page-cockfighting__intro-section .page-cockfighting__section-title {
  color: #E3B505;
}

.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__text-block p {
  margin-bottom: 20px;
  color: #f0f0f0;
  font-size: 1.1em;
}

.page-cockfighting__image-wrapper {
  text-align: center;
}

.page-cockfighting__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__dark-section {
  background-color: #0A2463;
  color: #ffffff;
}

.page-cockfighting__dark-section .page-cockfighting__section-title {
  color: #E3B505;
}

.page-cockfighting__dark-section .page-cockfighting__section-subtitle {
  color: #f0f0f0;
}

.page-cockfighting__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.page-cockfighting__benefit-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-cockfighting__benefit-item:hover {
  transform: translateY(-10px);
}

.page-cockfighting__benefit-title {
  font-size: 1.5em;
  color: #E3B505;
  margin-bottom: 15px;
}

.page-cockfighting__benefit-item p {
  color: #f0f0f0;
}

.page-cockfighting__image-wrapper--center {
  margin-top: 50px;
}

.page-cockfighting__guide-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.page-cockfighting__guide-step {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__step-icon {
  background-color: #E3B505;
  color: #0A2463;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

.page-cockfighting__step-title {
  font-size: 1.4em;
  color: #E3B505;
  margin-bottom: 15px;
}

.page-cockfighting__guide-step p {
  color: #f0f0f0;
}

.page-cockfighting__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.page-cockfighting__tip-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__tip-title {
  font-size: 1.4em;
  color: #E3B505;
  margin-bottom: 15px;
}

.page-cockfighting__tip-item p {
  color: #f0f0f0;
}

.page-cockfighting__video-section {
  text-align: center;
  padding: 80px 0;
}

.page-cockfighting__video-wrapper {
  max-width: 1000px;
  margin: 40px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-cockfighting__video-cta {
  margin-top: 30px;
}

.page-cockfighting__promo-card {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__promo-card:nth-child(even) {
  flex-direction: row-reverse;
}

.page-cockfighting__promo-image {
  width: 50%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-cockfighting__promo-content {
  width: 50%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-cockfighting__promo-title {
  font-size: 1.8em;
  color: #E3B505;
  margin-bottom: 15px;
}

.page-cockfighting__promo-content p {
  color: #f0f0f0;
  margin-bottom: 25px;
}

.page-cockfighting__faq-list {
  margin-top: 40px;
}

.page-cockfighting__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  color: #E3B505;
  background-color: #0A2463;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  color: #E3B505;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #E3B505;
  transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

.page-cockfighting__cta-section {
  text-align: center;
  padding-bottom: 80px;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 2.8em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.1em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__content-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__promo-card {
    flex-direction: column;
  }
  .page-cockfighting__promo-card:nth-child(even) {
    flex-direction: column;
  }
  .page-cockfighting__promo-image,
  .page-cockfighting__promo-content {
    width: 100%;
  }
  .page-cockfighting__promo-content {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-cockfighting__hero-title {
    font-size: 2.2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-small {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__hero-cta-buttons,
  .page-cockfighting__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-subtitle {
    font-size: 1em;
  }
  .page-cockfighting__text-block p {
    font-size: 1em;
  }
  .page-cockfighting__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__image-wrapper,
  .page-cockfighting__video-wrapper,
  .page-cockfighting__promo-card,
  .page-cockfighting__faq-item,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__intro-section,
  .page-cockfighting__why-jss77-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__video-section,
  .page-cockfighting__promo-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__promo-title {
    font-size: 1.5em;
  }
  .page-cockfighting__faq-question {
    font-size: 1.1em;
  }
  .page-cockfighting__faq-answer p {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-title {
    font-size: 1.5em;
  }
  .page-cockfighting__hero-section {
    height: 400px;
  }
}