.page-cockfighting {
  font-family: Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
}

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

.page-cockfighting__dark-bg {
  background-color: var(--bg-color);
  color: var(--text-main);
}

.page-cockfighting__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

.page-cockfighting__dark-section {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  min-height: 600px;
  overflow: hidden;
}

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

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: var(--text-main);
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__lead-text {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  margin-bottom: 30px;
  color: var(--text-main);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-cockfighting__paragraph {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, var(--auxiliary-color) 0%, var(--deep-orange) 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, var(--deep-orange) 0%, var(--auxiliary-color) 100%);
  box-shadow: 0 0 15px var(--glow);
}

.page-cockfighting__btn-secondary {
  background: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-cockfighting__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 0 15px var(--glow);
}

.page-cockfighting__btn-large {
  padding: 18px 35px;
  font-size: 1.2rem;
}

.page-cockfighting__introduction-section,
.page-cockfighting__download-section,
.page-cockfighting__faq-section {
  padding: 80px 0;
}

.page-cockfighting__features-section,
.page-cockfighting__benefits-section,
.page-cockfighting__safety-section,
.page-cockfighting__cta-final-section {
  padding: 80px 0;
}

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

.page-cockfighting__feature-card,
.page-cockfighting__benefit-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main);
}

.page-cockfighting__feature-card:hover,
.page-cockfighting__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__card-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-cockfighting__card-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-main);
}

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

.page-cockfighting__step-item {
  text-align: center;
  background-color: #ffffff;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-cockfighting__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-cockfighting__step-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333333;
}

.page-cockfighting__step-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555555;
}

.page-cockfighting__cta-wrapper {
  text-align: center;
  margin-top: 60px;
}

.page-cockfighting__download-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__safety-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-cockfighting__safety-image {
  flex: 1 1 400px;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__safety-text {
  flex: 1 1 400px;
}

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

.page-cockfighting__safety-list li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  font-size: 1rem;
  line-height: 1.6;
}

.page-cockfighting__safety-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

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

.page-cockfighting__video-container {
  width: 100%;
  max-width: 1000px; /* Adjust max-width for video container */
  margin: 0 auto;
  box-sizing: border-box;
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  width: 100%; /* Ensure desktop width is 100% */
  max-width: 100%;
  box-sizing: border-box;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
}

.page-cockfighting__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  background-color: #f5f5f5;
  color: #333333;
  border-bottom: 1px solid #e0e0e0;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  background-color: var(--primary-color-light);
  color: #333333;
  border-bottom: 1px solid var(--primary-color-light);
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  color: var(--primary-color);
}

.page-cockfighting__faq-answer {
  padding: 15px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  background-color: #ffffff;
}

.page-cockfighting__faq-answer p {
  margin-bottom: 0;
}

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

.page-cockfighting__cta-final-section .page-cockfighting__section-title,
.page-cockfighting__cta-final-section .page-cockfighting__paragraph {
  color: var(--text-main);
}

.highlight {
  color: var(--primary-color);
  font-weight: bold;
}

/* All images base responsive styles */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* All video base responsive styles */
.page-cockfighting video,
.page-cockfighting__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

/* Video container base responsive styles */
.page-cockfighting__video-section,
.page-cockfighting__video-container,
.page-cockfighting__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* All button base responsive styles */
.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%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Button container base responsive styles */
.page-cockfighting__cta-buttons,
.page-cockfighting__button-group,
.page-cockfighting__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    padding: 0 15px;
  }
  .page-cockfighting__safety-content {
    flex-direction: column;
    text-align: center;
  }
  .page-cockfighting__safety-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    min-height: 450px;
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset, small top padding */
  }

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

  .page-cockfighting__lead-text {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-cockfighting__introduction-section,
  .page-cockfighting__download-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__features-section,
  .page-cockfighting__benefits-section,
  .page-cockfighting__safety-section,
  .page-cockfighting__cta-final-section,
  .page-cockfighting__video-section {
    padding: 40px 0;
  }

  .page-cockfighting__feature-grid,
  .page-cockfighting__benefits-grid,
  .page-cockfighting__download-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__cta-wrapper {
    margin-top: 40px;
  }

  .page-cockfighting__download-image {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .page-cockfighting__safety-list li {
    padding-left: 25px;
  }

  .page-cockfighting__button-group {
    flex-direction: column;
    gap: 15px;
  }

  /* Mobile specific overrides for images */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Mobile specific overrides for video */
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .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: hidden !important;
  }
  .page-cockfighting__video-section {
    padding-top: 10px !important;
  }

  /* Mobile specific overrides for buttons */
  .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;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    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__container,
  .page-cockfighting__feature-card,
  .page-cockfighting__benefit-card,
  .page-cockfighting__step-item,
  .page-cockfighting__faq-item {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
  }
  .page-cockfighting__faq-question {
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 10px 20px;
  }
  .page-cockfighting__hero-image {
    filter: brightness(0.4); /* Slightly darker for mobile readability */
  }
}

@media (max-width: 480px) {
  .page-cockfighting__btn-large {
    font-size: 1rem;
    padding: 12px 25px;
  }
  .page-cockfighting__feature-image {
    height: 180px;
  }
}