.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #f0f2f5; /* From shared.css, just for context */
}

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

.page-cockfighting__section {
  padding: 40px 0;
  margin-bottom: 20px;
}

.page-cockfighting__section-title {
  font-size: 32px;
  color: #C91F17; /* Main brand color for titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFF5E1; /* Text Main for dark hero */
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: center;
}

.page-cockfighting__description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
  color: #FFF5E1; /* Text Main for dark hero */
}

/* Hero Section */
.page-cockfighting__hero-section {
  padding-top: 10px; /* Small top padding, relying on body padding-top */
  background: linear-gradient(180deg, #7A0E0E 0%, #C91F17 100%); /* Deep Red to Main */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

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

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 15px;
  max-width: 900px;
}

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

.page-cockfighting__cta-center {
  text-align: center;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  min-width: 180px;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom Button */
  color: #333333; /* Dark text for bright gold button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: #FFF5E1; /* Text Main for dark hero background */
  border: 2px solid #F2B544; /* Custom Border */
}

.page-cockfighting__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Introduction & Tips */
.page-cockfighting__introduction p,
.page-cockfighting__tips p,
.page-cockfighting__tips ul {
  font-size: 16px;
  max-width: 900px;
  margin: 15px auto;
  color: #333333;
}

.page-cockfighting__bullet-list {
  list-style: disc inside;
  padding-left: 20px;
  max-width: 900px;
  margin: 20px auto;
}

.page-cockfighting__bullet-list li {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-cockfighting__bullet-list li strong {
  color: #C91F17;
}

.page-cockfighting__numbered-list {
  list-style: decimal;
  padding-left: 20px;
  max-width: 900px;
  margin: 20px auto;
}

.page-cockfighting__numbered-list li {
  margin-bottom: 20px;
  font-size: 16px;
  color: #333333;
}

.page-cockfighting__numbered-list li h3 {
  font-size: 22px;
  color: #C91F17;
  margin-bottom: 10px;
}

.page-cockfighting__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 25px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

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

.page-cockfighting__card {
  background: #D32F2F; /* Custom Card BG */
  color: #FFF5E1; /* Text Main for dark background */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  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: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFCC66; /* Custom Glow */
}

.page-cockfighting__card-text {
  font-size: 15px;
  line-height: 1.5;
  flex-grow: 1;
}

/* Advantages Section */
.page-cockfighting__grid-2-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__advantage-item {
  text-align: center;
  padding: 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #FFF5E1;
}

.page-cockfighting__advantage-icon {
  width: 150px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-cockfighting__advantage-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFCC66;
}

.page-cockfighting__advantages p {
  font-size: 15px;
  color: #FFF5E1;
  max-width: 900px;
  margin: 15px auto;
}

/* Dark/Light Background sections for contrast */
.page-cockfighting__dark-section {
  background: #B71C1C; /* Custom Background */
  color: #FFF5E1; /* Text Main for dark background */
}

.page-cockfighting__light-bg {
  background: #fdfdfd; /* Slightly off-white for contrast */
  color: #333333;
}

/* Conclusion Section */
.page-cockfighting__conclusion p {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 20px auto 30px;
  color: #FFF5E1;
}

/* FAQ Section */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #F2B544; /* Custom Border */
  overflow: hidden;
  background: #D32F2F; /* Custom Card BG */
}
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: #7A0E0E; /* Deep Red on hover */
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF5E1; /* Text Main for dark background */
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F4D34D; /* Custom Gold */
  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: #7A0E0E; /* Deep Red for answer background */
  border-radius: 0 0 5px 5px;
  color: #FFF5E1;
}

/* Responsive Styles */
@media (max-width: 1023px) {
  .page-cockfighting__hero-section {
    min-height: 400px;
  }
  .page-cockfighting__main-title {
    font-size: 40px;
  }
  .page-cockfighting__section-title {
    font-size: 28px;
  }
  .page-cockfighting__grid-3-cols,
  .page-cockfighting__grid-2-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    min-height: 350px;
    padding: 20px 0;
  }
  .page-cockfighting__hero-content {
    padding: 20px 15px;
  }
  .page-cockfighting__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-cockfighting__description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-cockfighting__section {
    padding: 30px 0;
  }
  .page-cockfighting__section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    font-size: 16px;
    padding: 12px 25px;
    min-width: unset;
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-cockfighting__cta-buttons,
  .page-cockfighting__cta-center {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
  .page-cockfighting__introduction p,
  .page-cockfighting__tips p,
  .page-cockfighting__tips ul,
  .page-cockfighting__bullet-list li,
  .page-cockfighting__numbered-list li {
    font-size: 15px;
  }
  .page-cockfighting__numbered-list li h3 {
    font-size: 20px;
  }
  .page-cockfighting__card-title {
    font-size: 20px;
  }
  .page-cockfighting__advantage-title {
    font-size: 20px;
  }
  /* Mobile image adaptation */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-cockfighting__container,
  .page-cockfighting__card,
  .page-cockfighting__advantage-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question { padding: 15px; }
  .page-cockfighting__faq-qtext { font-size: 15px; }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer { padding: 0 15px 15px; }
}