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

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

.page-cockfighting__flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 30px;
}

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

.page-cockfighting__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--glow);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.page-cockfighting__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-cockfighting__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-cockfighting__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Section Titles */
.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--glow);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-cockfighting__text-block {
  font-size: 1rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Dark Section Styling */
.page-cockfighting__dark-section {
  background-color: var(--card-bg);
  padding: 60px 0;
  margin-bottom: 40px;
  border-radius: 10px;
}

/* Feature Grids */
.page-cockfighting__feature-grid, .page-cockfighting__strategy-grid, .page-cockfighting__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

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

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__feature-title, .page-cockfighting__strategy-title, .page-cockfighting__security-title, .page-cockfighting__image-title, .page-cockfighting__guide-step-title, .page-cockfighting__feature-card-title {
  font-size: 1.4rem;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__feature-text, .page-cockfighting__strategy-text, .page-cockfighting__security-text, .page-cockfighting__image-description, .page-cockfighting__guide-step-text, .page-cockfighting__feature-card-text {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Image Grid (Types Section) */
.page-cockfighting__image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-cockfighting__image-card {
  text-align: center;
  overflow: hidden;
  padding: 0;
}

.page-cockfighting__image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  margin-bottom: 20px;
}

.page-cockfighting__image-card .page-cockfighting__image-title {
  padding: 0 20px;
}

.page-cockfighting__image-card .page-cockfighting__image-description {
  padding: 0 20px 20px;
}

/* Guide List */
.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__guide-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__guide-item .page-cockfighting__btn-secondary {
  margin-top: 20px;
  align-self: flex-start;
}

.page-cockfighting__btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--glow);
  border: 2px solid var(--glow);
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-cockfighting__btn-secondary:hover {
  background: var(--glow);
  color: var(--card-bg);
  box-shadow: 0 4px 10px rgba(87, 227, 141, 0.4);
}

.page-cockfighting__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Features Section */
.page-cockfighting__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__feature-card {
  text-align: center;
  padding: 30px 20px;
}

.page-cockfighting__feature-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Security Section */
.page-cockfighting__security-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__btn-text-link {
  color: var(--glow);
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
  display: inline-block;
}

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

/* FAQ Section */
.page-cockfighting__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-cockfighting__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.page-cockfighting__faq-item[open] {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  background-color: var(--card-bg);
  user-select: none;
  list-style: none; /* For details/summary native marker */
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--glow);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--text-secondary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding-top: 10px;
}

/* CTA Section */
.page-cockfighting__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--card-bg);
  border-radius: 10px;
  margin-bottom: 40px;
}

.page-cockfighting__cta-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
}

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

.page-cockfighting__cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--glow);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-cockfighting__cta-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  padding-bottom: 60px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 4.5vw, 2.2rem);
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__container {
    padding: 0 15px;
  }

  /* Images & Videos */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting video,
  .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__hero-section,
  .page-cockfighting__intro-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__features-section,
  .page-cockfighting__security-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-section,
  .page-cockfighting__conclusion-section,
  .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__hero-section,
  .page-cockfighting__intro-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__features-section,
  .page-cockfighting__security-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-section,
  .page-cockfighting__conclusion-section {
    padding: 30px 0;
  }

  .page-cockfighting__hero-content {
    padding: 0 15px;
  }

  .page-cockfighting__hero-section {
    padding-top: 10px !important;
  }

  .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;
    flex-direction: column;
  }

  .page-cockfighting__cta-section .page-cockfighting__flex-center {
    flex-direction: column;
  }

  .page-cockfighting__image {
    height: auto;
  }

  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-cockfighting__faq-answer {
    padding: 0 20px 15px;
  }
}