.page-cockfighting-tips {
  color: #ffffff; /* Text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-cockfighting-tips__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-cockfighting-tips__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Hero Section */
.page-cockfighting-tips__hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0; /* Assuming shared.css handles body padding-top */
  padding-bottom: 80px;
  min-height: 600px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-cockfighting-tips__hero-section .page-cockfighting-tips__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.page-cockfighting-tips__hero-content {
  flex: 1;
  text-align: left;
}

.page-cockfighting-tips__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting-tips__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-tips__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-cockfighting-tips__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-cockfighting-tips__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
}

/* General Button Styles */
.page-cockfighting-tips__btn-primary,
.page-cockfighting-tips__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting-tips__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

.page-cockfighting-tips__btn-primary:hover {
  background-color: #e01e1e;
  border-color: #e01e1e;
}

.page-cockfighting-tips__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-cockfighting-tips__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

/* Section Titles */
.page-cockfighting-tips__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  color: inherit;
}

.page-cockfighting-tips__subsection-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 20px;
  color: inherit;
}

/* Intro Section */
.page-cockfighting-tips__intro-section {
  padding: 80px 0;
}

.page-cockfighting-tips__intro-section p {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #333333;
}

/* Tips Section & Betting Section */
.page-cockfighting-tips__tips-section,
.page-cockfighting-tips__betting-section {
  padding: 80px 0;
}

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

.page-cockfighting-tips__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting-tips__card:hover {
  transform: translateY(-5px);
}

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

.page-cockfighting-tips__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-cockfighting-tips__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Training Section & Mistakes Section & Benefits Section */
.page-cockfighting-tips__training-section,
.page-cockfighting-tips__mistakes-section,
.page-cockfighting-tips__benefits-section {
  padding: 80px 0;
}

.page-cockfighting-tips__training-section p,
.page-cockfighting-tips__mistakes-section p,
.page-cockfighting-tips__benefits-section p {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #333333;
}

.page-cockfighting-tips__training-section ul,
.page-cockfighting-tips__mistakes-section ul,
.page-cockfighting-tips__benefits-section ul {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #333333;
}

.page-cockfighting-tips__training-section li,
.page-cockfighting-tips__mistakes-section li,
.page-cockfighting-tips__benefits-section li {
  margin-bottom: 10px;
}

/* FAQ Section */
.page-cockfighting-tips__faq-section {
  padding: 80px 0;
}

.page-cockfighting-tips__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-cockfighting-tips__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #333333;
}

.page-cockfighting-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  background-color: #f0f0f0;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-cockfighting-tips__faq-question:hover {
  background-color: #e5e5e5;
}

.page-cockfighting-tips__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-cockfighting-tips__faq-item.active .page-cockfighting-tips__faq-toggle {
  transform: rotate(0deg);
}

.page-cockfighting-tips__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-cockfighting-tips__faq-item.active .page-cockfighting-tips__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 20px;
}

.page-cockfighting-tips__faq-answer p {
  margin: 0;
  color: #333333;
}

/* CTA Section */
.page-cockfighting-tips__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-cockfighting-tips__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

/* Global Image Styles */
.page-cockfighting-tips img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting-tips__hero-title {
    font-size: 3em;
  }

  .page-cockfighting-tips__hero-description {
    font-size: 1.2em;
  }

  .page-cockfighting-tips__section-title {
    font-size: 2em;
  }

  .page-cockfighting-tips__card-title {
    font-size: 1.3em;
  }

  .page-cockfighting-tips__hero-section .page-cockfighting-tips__container {
    flex-direction: column;
    text-align: center;
  }

  .page-cockfighting-tips__hero-content {
    text-align: center;
  }

  .page-cockfighting-tips__hero-buttons {
    justify-content: center;
  }
}

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

  /* HERO 主图区域 */
  .page-cockfighting-tips__hero-section {
    padding-top: 0 !important; /* Assuming shared.css handles body padding-top */
    padding-bottom: 40px;
    min-height: auto;
  }

  .page-cockfighting-tips__hero-title {
    font-size: 2.2em !important;
    margin-bottom: 15px !important;
  }

  .page-cockfighting-tips__hero-description {
    font-size: 1em !important;
    margin-bottom: 20px !important;
  }

  .page-cockfighting-tips__hero-section .page-cockfighting-tips__container {
    flex-direction: column;
    gap: 20px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-cockfighting-tips__hero-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* 产品展示图区域 (Grid) */
  .page-cockfighting-tips__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting-tips__card {
    padding: 20px;
  }

  .page-cockfighting-tips__card-image {
    min-width: 200px;
    min-height: 200px;
  }

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

  .page-cockfighting-tips__section,
  .page-cockfighting-tips__card,
  .page-cockfighting-tips__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-cockfighting-tips__btn-primary,
  .page-cockfighting-tips__btn-secondary,
  .page-cockfighting-tips a[class*="button"],
  .page-cockfighting-tips 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-tips__cta-buttons,
  .page-cockfighting-tips__button-group,
  .page-cockfighting-tips__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;
    flex-direction: column; /* Ensure vertical stacking for mobile buttons */
  }

  /* 其他内容模块 (Sections, FAQ) */
  .page-cockfighting-tips__intro-section,
  .page-cockfighting-tips__tips-section,
  .page-cockfighting-tips__training-section,
  .page-cockfighting-tips__betting-section,
  .page-cockfighting-tips__mistakes-section,
  .page-cockfighting-tips__benefits-section,
  .page-cockfighting-tips__faq-section,
  .page-cockfighting-tips__cta-section {
    padding: 40px 0;
  }

  .page-cockfighting-tips__section-title {
    font-size: 1.8em !important;
    margin-bottom: 30px !important;
    padding-top: 30px;
  }

  .page-cockfighting-tips__subsection-title {
    font-size: 1.5em !important;
    margin-top: 20px !important;
    margin-bottom: 15px !important;
  }

  .page-cockfighting-tips__intro-section p,
  .page-cockfighting-tips__training-section p,
  .page-cockfighting-tips__mistakes-section p,
  .page-cockfighting-tips__benefits-section p,
  .page-cockfighting-tips__training-section ul,
  .page-cockfighting-tips__mistakes-section ul,
  .page-cockfighting-tips__benefits-section ul {
    font-size: 1em !important;
  }

  .page-cockfighting-tips__faq-question {
    font-size: 1em !important;
    padding: 12px 15px;
  }

  .page-cockfighting-tips__faq-answer {
    padding: 0 15px;
  }

  .page-cockfighting-tips__faq-item.active .page-cockfighting-tips__faq-answer {
    padding: 12px 15px;
  }

  .page-cockfighting-tips__cta-description {
    font-size: 1.1em !important;
    margin-bottom: 30px !important;
  }
}