.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Default text color for dark background */
  background-color: var(--primary-color, #1A202C); /* Ensure consistency with shared primary color */
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Highlight titles with accent color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
}

.page-cockfighting__section-spacing {
  padding: 80px 20px;
}

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

.page-cockfighting__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

.page-cockfighting__text-block--center {
  text-align: center;
}

.page-cockfighting__inline-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting__inline-link:hover {
  text-decoration: underline;
}

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

.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);
  z-index: 2;
}

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

.page-cockfighting__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
  font-weight: 900;
}

.page-cockfighting__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #f0f0f0;
}

.page-cockfighting__hero-button {
  display: inline-block;
  padding: 15px 40px;
  background-color: #FFD700;
  color: #1A202C;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-cockfighting__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

/* General Button Styles */
.page-cockfighting__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background-color: #FFD700;
  color: #1A202C;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-cockfighting__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background-color: transparent;
  color: #FFD700;
  text-decoration: none;
  border: 2px solid #FFD700;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  margin-left: 15px;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
  transform: translateY(-2px);
}

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

/* Introduction Section */
.page-cockfighting__introduction-section {
  background-color: var(--primary-color, #1A202C);
  color: #f0f0f0;
}

/* Types Section */
.page-cockfighting__types-section {
  background-color: #1A202C;
  color: #f0f0f0;
}

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

.page-cockfighting__type-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-cockfighting__type-card:hover {
  transform: translateY(-10px);
}

.page-cockfighting__type-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-cockfighting__type-description {
  font-size: 1em;
  line-height: 1.6;
  color: #c0c0c0;
}

/* Guide Section */
.page-cockfighting__guide-section {
  background-color: var(--primary-color, #1A202C);
  color: #f0f0f0;
}

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

.page-cockfighting__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-cockfighting__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #c0c0c0;
}

/* Advantages Section */
.page-cockfighting__advantages-section {
  background-color: #1A202C;
  color: #f0f0f0;
}

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

.page-cockfighting__advantage-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-cockfighting__advantage-icon {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__advantage-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-cockfighting__advantage-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #c0c0c0;
}

/* Safety Section */
.page-cockfighting__safety-section {
  background-color: var(--primary-color, #1A202C);
  color: #f0f0f0;
}

.page-cockfighting__safety-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.page-cockfighting__safety-list-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #FFD700;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__safety-list-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-cockfighting__safety-list-description {
  font-size: 1em;
  line-height: 1.7;
  color: #c0c0c0;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  background-color: #1A202C;
  color: #f0f0f0;
}

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

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-cockfighting__faq-title {
  font-size: 1.3em;
  color: #f0f0f0;
  margin: 0;
}

.page-cockfighting__faq-toggle {
  font-size: 1.8em;
  color: #FFD700;
  font-weight: bold;
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #c0c0c0;
  font-size: 1em;
  line-height: 1.7;
}

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

/* CTA Section */
.page-cockfighting__cta-section {
  background-color: #FFD700;
  color: #1A202C;
  text-align: center;
}

.page-cockfighting__cta-content {
  max-width: 800px;
}

.page-cockfighting__cta-title {
  font-size: 2.8em;
  color: #1A202C;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-cockfighting__cta-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #333333;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background-color: #1A202C;
  color: #FFD700;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-cockfighting__cta-button:hover {
  background-color: #333e50;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 3em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.2em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-cockfighting__hero-title {
    font-size: 2.5em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__hero-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-cockfighting__section-spacing {
    padding: 60px 15px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-cockfighting__text-block {
    font-size: 0.95em;
  }
  .page-cockfighting__types-grid,
  .page-cockfighting__guide-steps,
  .page-cockfighting__advantages-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-cockfighting__type-title,
  .page-cockfighting__step-title,
  .page-cockfighting__advantage-title,
  .page-cockfighting__safety-list-title {
    font-size: 1.5em;
  }
  .page-cockfighting__faq-question {
    padding: 15px 20px;
  }
  .page-cockfighting__faq-title {
    font-size: 1.1em;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 10px 20px 20px;
  }
  .page-cockfighting__cta-title {
    font-size: 2em;
  }
  .page-cockfighting__cta-description {
    font-size: 1em;
  }
  .page-cockfighting__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  /* Mobile image, video, button overflow prevention */
  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }
  .page-cockfighting__cta-button,
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
  }
}

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