.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-main, #F2FFF6); /* Default text color for the page */
  background-color: var(--bg-dark, #08160F); /* Body background from shared */
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Ensure hero section has a minimum height */
  padding-top: 10px; /* Small top padding for visual separation, body handles header offset */
  padding-bottom: 60px;
}

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

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
}

.page-cockfighting__main-title {
  color: #F2FFF6;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
}

.page-cockfighting__subtitle {
  color: var(--text-secondary, #A7D9B8);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

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

.page-cockfighting__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal; /* Allow button text to wrap */
  word-wrap: break-word; /* Ensure long words break */
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

.page-cockfighting__btn--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-cockfighting__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(17, 168, 78, 0.4);
}

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

.page-cockfighting__btn--secondary:hover {
  background-color: rgba(46, 122, 78, 0.2);
  transform: translateY(-2px);
}

.page-cockfighting__btn--small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.page-cockfighting__btn--center {
  display: block;
  margin: 30px auto 0 auto;
}

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

.page-cockfighting__section-title {
  color: #F2FFF6;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cockfighting__sub-title {
  color: #F2FFF6;
  font-size: 1.8rem;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-cockfighting__text-block {
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

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

.page-cockfighting__image--center {
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__card {
  background-color: var(--card-bg, #11271B);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color, #2E7A4E);
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__card-title {
  color: #F2FFF6;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.page-cockfighting__card-text {
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.6;
}

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

.page-cockfighting__step-card {
  background-color: var(--card-bg, #11271B);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--border-color, #2E7A4E);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-cockfighting__step-text {
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-cockfighting__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-cockfighting__text-content {
  flex: 2;
}

.page-cockfighting__image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-cockfighting__promo-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-cockfighting__promo-item {
  background-color: var(--card-bg, #11271B);
  color: var(--text-secondary, #A7D9B8);
  padding: 20px;
  border-radius: 8px;
  border-left: 5px solid #2AD16F;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__reason-list {
  list-style: none;
  padding: 0;
  margin: 40px 0 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__reason-item {
  background-color: var(--card-bg, #11271B);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color, #2E7A4E);
}

.page-cockfighting__reason-title {
  color: #F2FFF6;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.page-cockfighting__reason-text {
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.6;
}

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

.page-cockfighting__faq-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--divider-color, #1E3A2A);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  color: #F2FFF6;
  font-size: 1.2rem;
  font-weight: bold;
  background-color: var(--card-bg, #11271B);
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.2);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  background-color: var(--deep-green, #0A4B2C);
}

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

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

.page-cockfighting__faq-answer {
  padding: 0 20px 20px 20px;
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.7;
  font-size: 1rem;
}

/* Details element specific styling */
.page-cockfighting__faq-item summary {
  list-style: none;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-cockfighting__section-title {
    font-size: 2rem;
  }

  .page-cockfighting__content-wrapper {
    flex-direction: column;
    align-items: center;
  }

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

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    min-height: 400px;
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-cockfighting__subtitle {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

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

  .page-cockfighting__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-cockfighting__sub-title {
    font-size: 1.5rem;
  }

  .page-cockfighting__text-block,
  .page-cockfighting__card-text,
  .page-cockfighting__step-text,
  .page-cockfighting__promo-item,
  .page-cockfighting__reason-text,
  .page-cockfighting__faq-answer p {
    font-size: 0.95rem;
  }

  /* Image responsive rules */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__introduction-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__why-choose-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__content-wrapper,
  .page-cockfighting__promo-list,
  .page-cockfighting__reason-list,
  .page-cockfighting__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  .page-cockfighting__hero-video-wrapper,
  .page-cockfighting__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
  }

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