.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

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

.page-cockfighting__hero-content {
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6);
  position: relative; /* Ensure content is below image in DOM */
  margin-top: -5px; /* Slight overlap to visually connect */
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6; /* Text Main */
}

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

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

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

.page-cockfighting__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow */
  border: 2px solid #FFD36B; /* Glow */
}

.page-cockfighting__btn-secondary:hover {
  background: #FFD36B;
  color: #111111; /* Card BG */
  transform: translateY(-2px);
}

/* Sections */
.page-cockfighting__section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #FFD36B; /* Glow */
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.3;
}

.page-cockfighting__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #FFF6D6; /* Text Main */
}

.page-cockfighting__sub-title {
  font-size: 1.8rem;
  color: #F2C14E; /* Primary Color */
  margin-bottom: 15px;
  font-weight: 600;
}

/* About Section */
.page-cockfighting__about-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6;
}

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

.page-cockfighting__text-block p {
  margin-bottom: 15px;
  font-size: 1rem;
  color: #FFF6D6;
}

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

/* Types Section */
.page-cockfighting__types-section {
  padding: 80px 0;
  background-color: #111111; /* Card BG */
  color: #FFF6D6;
}

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

.page-cockfighting__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

.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;
  display: block;
}

.page-cockfighting__card-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Primary Color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__card-text {
  font-size: 0.95rem;
  color: #FFF6D6;
  flex-grow: 1;
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6;
}

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

.page-cockfighting__step-item {
  text-align: center;
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: contain;
  margin-bottom: 25px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__step-title {
  font-size: 1.6rem;
  color: #F2C14E; /* Primary Color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__step-text {
  font-size: 1rem;
  color: #FFF6D6;
}

/* Advantages Section (similar to types but with text only cards) */
.page-cockfighting__advantages-section {
  padding: 80px 0;
  background-color: #111111; /* Card BG */
  color: #FFF6D6;
}

/* Tips Section */
.page-cockfighting__tips-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6;
}

/* Commitment Section */
.page-cockfighting__commitment-section {
  padding: 80px 0;
  background-color: #111111; /* Card BG */
  color: #FFF6D6;
}

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

.page-cockfighting__commitment-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #FFF6D6;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6;
}

.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-cockfighting__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF6D6;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2C14E; /* Primary Color */
  background-color: #1a1a1a;
  list-style: none; /* For details/summary */
  -webkit-touch-callout: none; /* Disable text selection on iOS */
  -webkit-user-select: none;   /* Disable text selection on iOS */
  -moz-user-select: none;      /* Disable text selection on Firefox */
  -ms-user-select: none;       /* Disable text selection on IE/Edge */
  user-select: none;           /* Disable text selection */
}

.page-cockfighting__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for details/summary */
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #FFD36B; /* Glow */
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #FFF6D6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

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

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important; /* For JS fallback */
  padding-top: 15px;
}

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

.page-cockfighting__faq-item a {
  color: #FFD36B;
  text-decoration: underline;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  padding: 80px 0;
  background-color: #111111; /* Card BG */
  color: #FFF6D6;
}

/* Footer content (part of main, not shared footer) */
.page-cockfighting__footer-content {
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid #3A2A12; /* Border */
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6;
}

.page-cockfighting__copyright {
  font-size: 0.9rem;
  color: #FFF6D6;
  margin: 0;
}

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

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

  .page-cockfighting__hero-description {
    font-size: 1rem;
  }

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

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

  .page-cockfighting__grid-two-columns {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__image-block {
    order: -1; /* Image first on smaller screens */
    margin-bottom: 30px;
  }

  .page-cockfighting__grid-cards, .page-cockfighting__steps-grid, .page-cockfighting__grid-three-columns {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

  .page-cockfighting__container {
    padding: 20px 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO 主图区域 */
  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-cockfighting__hero-image {
    max-height: 400px !important;
  }

  .page-cockfighting__hero-content {
    padding: 25px 15px !important;
  }

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

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

  /* 按钮与按钮容器 */
  .page-cockfighting__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
  }

  .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;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .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: 0 !important; /* Buttons themselves have padding */
    padding-right: 0 !important;
    overflow: hidden !important;
  }

  /* 通用图片与容器 */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__section, /* Catch-all for sections */
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__text-block,
  .page-cockfighting__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 产品展示图区域 (适用于 types/advantages sections) */
  .page-cockfighting__grid-cards,
  .page-cockfighting__steps-grid,
  .page-cockfighting__grid-three-columns {
    grid-template-columns: 1fr !important; /* Single column */
    gap: 20px !important;
  }

  .page-cockfighting__card,
  .page-cockfighting__step-item,
  .page-cockfighting__commitment-item {
    padding: 20px !important;
  }

  .page-cockfighting__card-image {
    height: 180px !important;
  }

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

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

  .page-cockfighting__sub-title {
    font-size: 1.4rem !important;
  }

  /* FAQ Section */
  .page-cockfighting__faq-question {
    font-size: 1rem !important;
    padding: 15px 20px !important;
  }

  .page-cockfighting__faq-toggle {
    font-size: 1.2rem !important;
  }

  .page-cockfighting__faq-answer {
    font-size: 0.9rem !important;
    padding: 0 20px 15px 20px !important;
  }
}