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

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

.page-cockfighting__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 50px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

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

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

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

.page-cockfighting__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFF1E8;
}

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

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

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
  color: #FFF1E8;
  border: none;
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-cockfighting__btn-secondary {
  background: #2A1212; /* Card BG */
  color: #F3C54D; /* Gold */
  border: 2px solid #F3C54D; /* Gold */
}

.page-cockfighting__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: #3a1a1a;
}

.page-cockfighting__section {
  padding: 60px 0;
}

.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F3C54D; /* Gold */
  line-height: 1.3;
}

.page-cockfighting__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
  color: #FFF1E8;
}

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

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

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

.page-cockfighting__card {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF1E8;
}

.page-cockfighting__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px;
}

.page-cockfighting__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F3C54D; /* Gold */
}

.page-cockfighting__card-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF1E8;
}

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

.page-cockfighting__benefit-item {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #FFF1E8;
}

.page-cockfighting__benefit-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F3C54D; /* Gold */
}

.page-cockfighting__benefit-item p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #FFF1E8;
}

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

.page-cockfighting__step-card {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #FFF1E8;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F3C54D; /* Gold */
}

.page-cockfighting__step-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  color: #FFF1E8;
}

.page-cockfighting__btn-small {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
  color: #FFF1E8;
  border: none;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-small:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.page-cockfighting__text-center {
  text-align: center;
}

.page-cockfighting__mt-20 {
  margin-top: 20px;
}

.page-cockfighting__mt-40 {
  margin-top: 40px;
}

.page-cockfighting__btn-large {
  padding: 18px 35px;
  font-size: 1.2rem;
}

.page-cockfighting__tip-card {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #FFF1E8;
}

.page-cockfighting__tip-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F3C54D; /* Gold */
}

.page-cockfighting__tip-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF1E8;
}

/* FAQ Styles */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
  color: #FFF1E8;
}

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: #3a1a1a;
}

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

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F3C54D; /* 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: #1e0f0f; /* Slightly lighter than Card BG */
  border-radius: 0 0 5px 5px;
  color: #FFF1E8;
}

.page-cockfighting__faq-answer p {
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 10px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-cockfighting__container {
    padding: 20px 25px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
  }
  .page-cockfighting__hero-description {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
  .page-cockfighting__benefits-list {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__grid-3-col, .page-cockfighting__grid-2-col {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO 主图区域 */
  .page-cockfighting__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    padding-bottom: 30px;
  }
  .page-cockfighting__hero-image-wrapper {
    position: relative; /* Change to relative for better mobile flow if content is below */
    height: 250px; /* Fixed height for mobile hero image */
  }
  .page-cockfighting__hero-image {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important; /* Remove aspect ratio constraint */
    filter: brightness(0.6); /* Slightly less dark for mobile */
  }
  .page-cockfighting__hero-content {
    padding: 20px 15px;
    margin-top: -80px; /* Adjust if image is above */
    background: rgba(0, 0, 0, 0.6); /* Stronger background for text */
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-cockfighting__hero-description {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
    margin-bottom: 20px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* 按钮与按钮容器 */
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-small,
  .page-cockfighting__btn-large,
  .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-left: 15px;
    padding-right: 15px;
  }
  .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: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for CTA groups */
  }

  /* 通用图片与容器 */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  /* 产品展示图区域 */
  .page-cockfighting__grid-3-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__grid-2-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__card-image {
    min-height: 180px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
    padding: 0 10px; /* Add padding to prevent text from touching edges */
    text-align: center;
  }
  .page-cockfighting__text-block {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 10px;
    text-align: left; /* Align left for better readability on mobile */
  }
  .page-cockfighting__image-content {
    margin: 20px auto;
  }

  .page-cockfighting__benefits-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__benefit-item {
    padding: 25px;
  }
  .page-cockfighting__benefit-title {
    font-size: 1.3rem;
  }

  .page-cockfighting__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__step-card {
    padding: 20px;
  }
  .page-cockfighting__step-title {
    font-size: 1.2rem;
  }
  .page-cockfighting__tip-card {
    padding: 20px;
  }
  .page-cockfighting__tip-title {
    font-size: 1.2rem;
  }

  /* FAQ */
  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; }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer { padding: 0 15px 15px; }
  .page-cockfighting__faq-answer p { font-size: 0.95rem; }
}