.page-index-cockfighting-rules {
  color: #FFF3E6;
  background-color: #0D0E12;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-index-cockfighting-rules__hero-section {
  padding-top: 10px; /* Adjusted for shared header offset */
  padding-bottom: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-cockfighting-rules__hero-image-wrapper {
  position: relative;
  margin-bottom: 30px;
}

.page-index-cockfighting-rules__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-cockfighting-rules__hero-content {
  position: relative;
  z-index: 10;
  padding: 0 20px;
}

.page-index-cockfighting-rules__main-title {
  font-size: 3.2em;
  font-weight: 700;
  color: #FFB04D; /* Glow color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 176, 77, 0.7);
}

.page-index-cockfighting-rules__hero-description {
  font-size: 1.2em;
  color: #FFF3E6;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-index-cockfighting-rules__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

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

.page-index-cockfighting-rules__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-index-cockfighting-rules__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
}

.page-index-cockfighting-rules__btn-secondary {
  background: #17191F;
  color: #FFA53A;
  border: 2px solid #A84F0C;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-cockfighting-rules__btn-secondary:hover {
  transform: translateY(-3px);
  background: #2a2d36;
  color: #FFB04D;
  border-color: #FFB04D;
}

.page-index-cockfighting-rules__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #FF8C1A;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-index-cockfighting-rules__intro-section,
.page-index-cockfighting-rules__types-section,
.page-index-cockfighting-rules__rules-section,
.page-index-cockfighting-rules__techniques-section,
.page-index-cockfighting-rules__strategy-section,
.page-index-cockfighting-rules__safety-section,
.page-index-cockfighting-rules__faq-section,
.page-index-cockfighting-rules__cta-bottom-section {
  padding: 60px 0;
}

.page-index-cockfighting-rules__text-block {
  font-size: 1.1em;
  color: #FFF3E6;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-index-cockfighting-rules__type-card,
.page-index-cockfighting-rules__technique-card {
  background-color: #17191F;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  border: 1px solid #A84F0C;
}

.page-index-cockfighting-rules__type-card:hover,
.page-index-cockfighting-rules__technique-card:hover {
  transform: translateY(-5px);
}

.page-index-cockfighting-rules__type-image,
.page-index-cockfighting-rules__technique-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-index-cockfighting-rules__type-title,
.page-index-cockfighting-rules__technique-title {
  font-size: 1.5em;
  color: #FFA53A;
  padding: 15px 20px 10px;
  font-weight: 600;
}

.page-index-cockfighting-rules__type-description,
.page-index-cockfighting-rules__technique-description {
  font-size: 1em;
  color: #FFF3E6;
  padding: 0 20px 20px;
  text-align: justify;
}

.page-index-cockfighting-rules__rule-list,
.page-index-cockfighting-rules__strategy-list,
.page-index-cockfighting-rules__safety-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
}

.page-index-cockfighting-rules__rule-item,
.page-index-cockfighting-rules__strategy-item,
.page-index-cockfighting-rules__safety-item {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-index-cockfighting-rules__rule-heading,
.page-index-cockfighting-rules__strategy-heading,
.page-index-cockfighting-rules__safety-heading {
  font-size: 1.6em;
  color: #FF8C1A;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-index-cockfighting-rules__rule-description,
.page-index-cockfighting-rules__strategy-description,
.page-index-cockfighting-rules__safety-description {
  font-size: 1.05em;
  color: #FFF3E6;
  text-align: justify;
}

.page-index-cockfighting-rules__sub-list {
  list-style: disc;
  margin-left: 20px;
  color: #FFF3E6;
  margin-top: 10px;
}

.page-index-cockfighting-rules__sub-list li {
  margin-bottom: 5px;
}

.page-index-cockfighting-rules__faq-list {
  margin-top: 30px;
}

.page-index-cockfighting-rules__faq-item {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-index-cockfighting-rules__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #FFA53A;
  cursor: pointer;
  background-color: #17191F;
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-index-cockfighting-rules__faq-question:hover {
  background-color: #2a2d36;
}

.page-index-cockfighting-rules__faq-item[open] .page-index-cockfighting-rules__faq-question {
  background-color: #2a2d36;
}

.page-index-cockfighting-rules__faq-question::-webkit-details-marker {
  display: none;
}

.page-index-cockfighting-rules__faq-question::marker {
  display: none;
}

.page-index-cockfighting-rules__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FF8C1A;
}

.page-index-cockfighting-rules__faq-item[open] .page-index-cockfighting-rules__faq-toggle {
  content: '−';
}

.page-index-cockfighting-rules__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  color: #FFF3E6;
  text-align: justify;
}

.page-index-cockfighting-rules__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
}

.page-index-cockfighting-rules__cta-bottom-section .page-index-cockfighting-rules__container {
  background-color: #FF8C1A;
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 2px solid #D96800;
}

.page-index-cockfighting-rules__section-title--light {
  color: #ffffff;
}

.page-index-cockfighting-rules__section-title--light::after {
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
}

.page-index-cockfighting-rules__text-block--light {
  color: #ffffff;
}

.page-index-cockfighting-rules__btn-primary--large {
  font-size: 1.3em;
  padding: 18px 40px;
  margin-top: 30px;
}

/* Desktop Styles for 1024px+ */
@media (min-width: 1025px) {
  .page-index-cockfighting-rules__hero-image-wrapper {
    height: 600px;
  }

  .page-index-cockfighting-rules__hero-image {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .page-index-cockfighting-rules__main-title {
    font-size: 3.8em;
  }
}

/* Tablet Styles (max-width: 1024px) */
@media (max-width: 1024px) {
  .page-index-cockfighting-rules__main-title {
    font-size: 2.8em;
  }

  .page-index-cockfighting-rules__hero-description {
    font-size: 1.1em;
  }

  .page-index-cockfighting-rules__section-title {
    font-size: 2.2em;
  }

  .page-index-cockfighting-rules__type-image,
  .page-index-cockfighting-rules__technique-image {
    height: 220px;
  }

  .page-index-cockfighting-rules__type-grid,
  .page-index-cockfighting-rules__technique-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .page-index-cockfighting-rules__rule-heading,
  .page-index-cockfighting-rules__strategy-heading,
  .page-index-cockfighting-rules__safety-heading {
    font-size: 1.4em;
  }

  .page-index-cockfighting-rules__faq-question {
    font-size: 1.1em;
  }

  .page-index-cockfighting-rules__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-cockfighting-rules__btn-primary,
  .page-index-cockfighting-rules__btn-secondary {
    width: 80%;
    margin: 0 auto;
  }

  .page-index-cockfighting-rules__cta-bottom-section .page-index-cockfighting-rules__container {
    padding: 40px;
  }

  .page-index-cockfighting-rules__btn-primary--large {
    width: 90%;
  }
}

/* Mobile Styles (max-width: 768px) */
@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-index-cockfighting-rules__hero-section {
    padding-top: 10px !important; /* Fixed header offset */
    padding-bottom: 30px;
  }

  .page-index-cockfighting-rules__hero-image-wrapper {
    height: auto;
    margin-bottom: 20px;
  }

  .page-index-cockfighting-rules__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 5px;
  }

  .page-index-cockfighting-rules__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-index-cockfighting-rules__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-index-cockfighting-rules__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
    overflow: hidden;
  }

  /* 按钮与按钮容器 */
  .page-index-cockfighting-rules__btn-primary,
  .page-index-cockfighting-rules__btn-secondary,
  .page-index-cockfighting-rules a[class*="button"],
  .page-index-cockfighting-rules 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: 12px 15px;
    font-size: 1em;
  }

  .page-index-cockfighting-rules__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding-bottom: 10px;
  }

  .page-index-cockfighting-rules__section-title::after {
    width: 60px;
    height: 3px;
  }

  .page-index-cockfighting-rules__intro-section,
  .page-index-cockfighting-rules__types-section,
  .page-index-cockfighting-rules__rules-section,
  .page-index-cockfighting-rules__techniques-section,
  .page-index-cockfighting-rules__strategy-section,
  .page-index-cockfighting-rules__safety-section,
  .page-index-cockfighting-rules__faq-section,
  .page-index-cockfighting-rules__cta-bottom-section {
    padding: 40px 0;
  }

  .page-index-cockfighting-rules__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-index-cockfighting-rules__text-block {
    font-size: 0.95em;
  }

  /* 产品展示图区域 (通用图片) */
  .page-index-cockfighting-rules__type-grid,
  .page-index-cockfighting-rules__technique-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-index-cockfighting-rules__type-card,
  .page-index-cockfighting-rules__technique-card {
    margin-bottom: 0;
  }

  .page-index-cockfighting-rules__type-image,
  .page-index-cockfighting-rules__technique-image {
    max-width: 100% !important;
    width: 100% !important;
    height: 200px !important;
  }

  .page-index-cockfighting-rules__type-title,
  .page-index-cockfighting-rules__technique-title {
    font-size: 1.3em;
    padding: 12px 15px 8px;
  }

  .page-index-cockfighting-rules__type-description,
  .page-index-cockfighting-rules__technique-description {
    font-size: 0.9em;
    padding: 0 15px 15px;
  }

  .page-index-cockfighting-rules__rule-item,
  .page-index-cockfighting-rules__strategy-item,
  .page-index-cockfighting-rules__safety-item {
    padding: 20px;
    margin-bottom: 15px;
  }

  .page-index-cockfighting-rules__rule-heading,
  .page-index-cockfighting-rules__strategy-heading,
  .page-index-cockfighting-rules__safety-heading {
    font-size: 1.3em;
    margin-bottom: 10px;
  }

  .page-index-cockfighting-rules__rule-description,
  .page-index-cockfighting-rules__strategy-description,
  .page-index-cockfighting-rules__safety-description {
    font-size: 0.95em;
  }

  .page-index-cockfighting-rules__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-index-cockfighting-rules__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95em;
  }

  .page-index-cockfighting-rules__cta-bottom-section .page-index-cockfighting-rules__container {
    padding: 30px 15px;
    border-radius: 10px;
  }

  .page-index-cockfighting-rules__btn-primary--large {
    font-size: 1.1em;
    padding: 15px 25px;
    margin-top: 20px;
    width: 100% !important;
  }
}