.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #FFF5E1; /* Text Main */
  background: #B71C1C; /* Background */
}

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

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

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  overflow: hidden;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.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__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: #FFD86A; /* Gold from button gradient */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #FFF5E1;
}

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

/* General Section Styling */
.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #FFD86A; /* Gold from button gradient */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__subsection-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  color: #F4D34D; /* Gold */
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: left;
}

.page-cockfighting__dark-section {
  background: #D32F2F; /* Card BG */
  padding: 50px 0;
  margin-bottom: 40px;
  box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.3), inset 0 -5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__dark-section p,
.page-cockfighting__dark-section li {
  color: #FFF5E1;
}

.page-cockfighting p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-cockfighting__list,
.page-cockfighting__numbered-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

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

.page-cockfighting__list li::before {
  content: '⚡'; /* Custom bullet */
  position: absolute;
  left: 0;
  color: #FFCC66;
  font-size: 1.2em;
  top: 0;
}

.page-cockfighting__numbered-list li::before {
  content: counter(list-item) '.';
  counter-increment: list-item;
  position: absolute;
  left: 0;
  font-weight: bold;
  color: #FFCC66;
  font-size: 1.1em;
  top: 0;
}

/* Buttons */
.page-cockfighting__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting__btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button gradient */
  color: #7A0E0E; /* Deep Red for contrast */
  border: 2px solid #F2B544; /* Border */
}

.page-cockfighting__btn--primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__btn--secondary {
  background: #7A0E0E; /* Deep Red */
  color: #FFF5E1; /* Text Main */
  border: 2px solid #F2B544; /* Border */
}

.page-cockfighting__btn--secondary:hover {
  background: #5A0A0A;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Image Cards */
.page-cockfighting__image-card {
  margin: 40px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  max-width: 900px;
}

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

/* Bet Type Cards */
.page-cockfighting__bet-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-cockfighting__bet-card {
  background: #D32F2F; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #F2B544; /* Border */
  text-align: center;
}

.page-cockfighting__bet-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #FFD86A; /* Gold */
  margin-bottom: 15px;
}

.page-cockfighting__bet-card p {
  color: #FFF5E1;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  background: #B71C1C; /* Background */
  padding: 50px 0;
  margin-bottom: 40px;
}

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

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #F2B544; /* Border */
  overflow: hidden;
  background: #D32F2F; /* Card BG */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

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 */
}

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

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD86A; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  background: #7A0E0E; /* Deep Red */
  border-radius: 0 0 10px 10px;
  color: #FFF5E1;
}

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

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

/* Responsive Design */
/* No specific 1023px/1024px home-hero rules needed for inner page */

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    margin-bottom: 20px;
  }

  .page-cockfighting__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-cockfighting__hero-description {
    font-size: 1rem;
    padding: 0 15px;
  }

  .page-cockfighting__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__btn {
    padding: 12px 20px;
    font-size: 1rem;
    width: calc(100% - 30px) !important; /* Account for padding */
    margin: 0 15px;
  }

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

  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    padding-top: 30px;
    margin-bottom: 20px;
  }

  .page-cockfighting__subsection-title {
    font-size: clamp(1.2rem, 4vw, 1.7rem);
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-cockfighting p,
  .page-cockfighting li {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .page-cockfighting__list li,
  .page-cockfighting__numbered-list li {
    padding-left: 25px;
  }

  .page-cockfighting__list li::before {
    font-size: 1em;
  }

  .page-cockfighting__numbered-list li::before {
    font-size: 1em;
  }

  .page-cockfighting__image-card {
    margin: 30px auto;
    max-width: calc(100% - 30px);
  }

  /* Mobile image adaptation */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-cockfighting__container,
  .page-cockfighting__hero-content,
  .page-cockfighting__intro-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__rules-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__security-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section,
  .page-cockfighting__bet-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-cockfighting__dark-section {
    padding: 30px 0;
  }

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

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

  .page-cockfighting__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }

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