.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #F5F7FA); /* Ensure light background for default text */
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #F5F7FA; /* Light background for hero content */
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #E53935;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: #333333;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* General Section Styles */
.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #E53935;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FF5A4F, #E53935);
  border-radius: 2px;
}

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

.page-cockfighting__text-block strong {
  color: #E53935;
}

/* Dark Background Sections */
.page-cockfighting__dark-section {
  background-color: #E53935;
  color: #ffffff; /* White text for dark background */
  padding: 60px 0;
}

.page-cockfighting__dark-section .page-cockfighting__section-title {
  color: #ffffff;
}

.page-cockfighting__dark-section .page-cockfighting__section-title::after {
  background: linear-gradient(90deg, #ffffff, #FF5A4F);
}

.page-cockfighting__dark-section .page-cockfighting__text-block {
  color: #f0f0f0;
}

.page-cockfighting__dark-section .page-cockfighting__text-block strong {
  color: #FF5A4F;
}

/* Image Full Width */
.page-cockfighting__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.page-cockfighting__card {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #333333;
}

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

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

.page-cockfighting__card-title {
  font-size: 1.5rem;
  color: #E53935;
  font-weight: 600;
  padding: 20px 20px 10px;
}

.page-cockfighting__card-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  padding: 0 20px 20px;
  flex-grow: 1;
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 60px 0;
}

.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__guide-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #FF5A4F;
  padding: 25px 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__guide-item:last-child {
  margin-bottom: 0;
}

.page-cockfighting__guide-step-title {
  font-size: 1.6rem;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 10px;
}

.page-cockfighting__guide-step-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-cockfighting__guide-step-description a {
  color: #FF5A4F;
  text-decoration: underline;
}

.page-cockfighting__guide-step-description a:hover {
  color: #ffffff;
}

/* Advantages Section */
.page-cockfighting__advantages-section {
  padding: 60px 0;
  background-color: #F5F7FA;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  padding: 60px 0;
}

.page-cockfighting__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-cockfighting__promo-item {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.page-cockfighting__promo-item:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.page-cockfighting__promo-title {
  font-size: 1.5rem;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 10px;
}

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

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 60px 0;
  background-color: #F5F7FA;
}

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

.page-cockfighting__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #E0E0E0;
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  background-color: #E53935;
  color: #ffffff;
  border-bottom-color: #E53935;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  color: #ffffff;
}

.page-cockfighting__faq-question::-webkit-details-marker, /* Hide default marker for Chrome */
.page-cockfighting__faq-question::marker { /* Hide default marker for Firefox */
  display: none;
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
  color: #E53935;
  transition: transform 0.3s ease, color 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
  color: #ffffff;
}

.page-cockfighting__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  background-color: #FFFFFF;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  padding: 60px 0;
  text-align: center;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  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, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.6);
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  background-color: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

  .page-cockfighting__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-cockfighting__hero-description {
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  }

  .page-cockfighting__text-block {
    font-size: 1rem;
  }

  .page-cockfighting__card-title {
    font-size: 1.3rem;
  }

  .page-cockfighting__card-description {
    font-size: 0.95rem;
  }

  .page-cockfighting__guide-step-title {
    font-size: 1.4rem;
  }

  .page-cockfighting__guide-step-description {
    font-size: 0.95rem;
  }

  .page-cockfighting__promo-title {
    font-size: 1.3rem;
  }

  .page-cockfighting__promo-description {
    font-size: 0.95rem;
  }

  .page-cockfighting__faq-question {
    font-size: 1.05rem;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

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

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

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

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

  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem) !important;
    margin-bottom: 15px !important;
  }

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

  .page-cockfighting__hero-buttons {
    flex-direction: column !important;
    gap: 10px !important;
  }

  /* 产品展示图区域 (General Grid for products) */
  .page-cockfighting__grid {
    grid-template-columns: 1fr !important; /* Single column for mobile */
    gap: 20px !important;
    margin-top: 20px !important;
  }

  .page-cockfighting__card {
    margin-bottom: 0 !important;
  }

  .page-cockfighting__card-image {
    height: 200px !important; /* Adjust height for mobile */
  }

  /* 通用图片与容器 */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  
  .page-cockfighting__image-full-width {
    margin: 20px 0 !important;
  }

  .page-cockfighting__introduction-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 40px 0 !important;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem) !important;
    margin-bottom: 20px !important;
  }

  .page-cockfighting__section-title::after {
    width: 60px !important;
  }

  .page-cockfighting__text-block {
    font-size: 1rem !important;
    line-height: 1.7 !important;
  }

  .page-cockfighting__card-title {
    font-size: 1.2rem !important;
  }

  .page-cockfighting__card-description {
    font-size: 0.9rem !important;
  }

  .page-cockfighting__guide-item {
    padding: 20px 20px !important;
    border-left-width: 3px !important;
  }

  .page-cockfighting__guide-step-title {
    font-size: 1.3rem !important;
  }

  .page-cockfighting__guide-step-description {
    font-size: 0.9rem !important;
  }

  .page-cockfighting__promo-list {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .page-cockfighting__promo-title {
    font-size: 1.2rem !important;
  }

  .page-cockfighting__promo-description {
    font-size: 0.9rem !important;
  }

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

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

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

  /* 按钮与按钮容器 */
  .page-cockfighting__cta-button,
  .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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    font-size: 1rem !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: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    flex-direction: column !important; /* Ensure vertical stacking for multiple buttons */
  }
}