.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--color-text-secondary); /* Default text color for the page, considering body background */
  background-color: var(--color-deep-navy); /* Ensure body background is respected */
}

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

.page-cockfighting__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  margin-bottom: 40px;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio for hero image */
  overflow: hidden;
}

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

.page-cockfighting__hero-content {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(180deg, rgba(8, 22, 43, 0.8) 0%, var(--color-deep-navy) 100%);
  position: relative;
  z-index: 1;
  margin-top: -100px; /* Pull content up over the image for better visual flow, without overlapping text */
  border-radius: 20px 20px 0 0;
}

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

.page-cockfighting__hero-description {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 800px;
  margin: 0 auto 30px;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-secondary {
  background: #ffffff;
  color: var(--color-primary-dark);
  border: 2px solid #113B7A;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__btn-secondary:hover {
  background: #f0f0f0;
  color: #113B7A;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__btn-link {
  background: none;
  color: var(--color-glow);
  border: none;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: underline;
}

.page-cockfighting__btn-link:hover {
  color: var(--color-gold);
  text-decoration: none;
}

.page-cockfighting__section-title {
  font-size: 2.2rem;
  color: var(--color-text-main);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.page-cockfighting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--color-gold);
  border-radius: 2px;
}

.page-cockfighting__section-description {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
}

.page-cockfighting__sub-title {
  font-size: 1.7rem;
  color: var(--color-text-main);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__text-block p {
  margin-bottom: 15px;
  font-size: 1rem;
  color: var(--color-text-secondary);
}

.page-cockfighting__highlight {
  color: var(--color-glow);
  font-weight: 600;
}

.page-cockfighting__introduction-section,
.page-cockfighting__guide-section,
.page-cockfighting__strategy-section,
.page-cockfighting__promotions-section,
.page-cockfighting__support-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

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

.page-cockfighting__dark-section .page-cockfighting__section-title,
.page-cockfighting__dark-section .page-cockfighting__sub-title {
  color: var(--color-text-main);
}

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

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

.page-cockfighting__grid-two-columns-reversed .page-cockfighting__image-block {
  order: 2;
}

.page-cockfighting__grid-two-columns-reversed .page-cockfighting__text-block {
  order: 1;
}

.page-cockfighting__image-block img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: block;
  object-fit: cover;
}

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

.page-cockfighting__feature-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%234FA8FF"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--color-text-secondary);
  font-size: 1rem;
}

.page-cockfighting__feature-list li strong {
  color: var(--color-text-main);
}

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

.page-cockfighting__card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-cockfighting__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-cockfighting__card-content {
  padding: 25px;
}

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

.page-cockfighting__card-content p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.page-cockfighting__cta-buttons--inline {
  justify-content: flex-start;
  margin-top: 30px;
}

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

.page-cockfighting__promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__promo-card {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--color-border);
}

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

.page-cockfighting__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-cockfighting__promo-content {
  padding: 25px;
}

.page-cockfighting__promo-title {
  font-size: 1.3rem;
  color: var(--color-text-main);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__promo-content p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.page-cockfighting__support-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

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

.page-cockfighting__contact-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23F2C14E"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--color-text-secondary);
  font-size: 1rem;
}

.page-cockfighting__contact-list li strong {
  color: var(--color-text-main);
}

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

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  background: var(--color-card-bg);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
  background: rgba(var(--color-primary-rgb), 0.1);
}

.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--color-text-main);
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--color-glow);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  background: rgba(var(--color-primary-rgb), 0.05);
  border-radius: 0 0 8px 8px;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.page-cockfighting__text-link {
  color: var(--color-glow);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-cockfighting__text-link:hover {
  color: var(--color-gold);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__container {
    padding: 20px 30px;
  }

  .page-cockfighting__hero-content {
    padding: 30px 20px;
    margin-top: -80px;
  }

  .page-cockfighting__main-title {
    font-size: 2.8rem;
  }

  .page-cockfighting__grid-two-columns,
  .page-cockfighting__grid-two-columns-reversed,
  .page-cockfighting__support-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-cockfighting__grid-two-columns-reversed .page-cockfighting__image-block {
    order: 1;
  }

  .page-cockfighting__grid-two-columns-reversed .page-cockfighting__text-block {
    order: 2;
  }

  .page-cockfighting__grid-cards,
  .page-cockfighting__promo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .page-cockfighting__card-image,
  .page-cockfighting__promo-image {
    height: 220px;
  }

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

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

  .page-cockfighting__faq-qtext {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-cockfighting__hero-section,
  .page-cockfighting__introduction-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__support-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section,
  .page-cockfighting__container,
  .page-cockfighting__card,
  .page-cockfighting__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__hero-section {
    padding-top: 10px; /* Ensure small top padding */
  }

  .page-cockfighting__hero-content {
    padding: 20px 15px;
    margin-top: -60px;
  }

  .page-cockfighting__main-title {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .page-cockfighting__hero-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-link,
  .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: 12px 20px;
    font-size: 0.95rem;
  }

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

  .page-cockfighting__section-description {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .page-cockfighting__sub-title {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-cockfighting__text-block p,
  .page-cockfighting__feature-list li,
  .page-cockfighting__card-content p,
  .page-cockfighting__promo-content p,
  .page-cockfighting__contact-list li,
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer p {
    font-size: 0.9rem;
  }

  .page-cockfighting__grid-cards,
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__card-image,
  .page-cockfighting__promo-image {
    height: 180px;
  }

  .page-cockfighting__card-content,
  .page-cockfighting__promo-content {
    padding: 20px;
  }

  .page-cockfighting__card-title,
  .page-cockfighting__promo-title {
    font-size: 1.2rem;
  }

  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    padding: 15px;
  }

  .page-cockfighting__faq-qtext {
    font-size: 0.95rem;
  }

  .page-cockfighting__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

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