.page-cockfighting-rules-tips {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#0a0a0a), so text should be light */
  background-color: transparent; /* Inherit from body/shared.css */
}

.page-cockfighting-rules-tips__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-cockfighting-rules-tips__dark-bg {
  background-color: rgba(38, 169, 224, 0.1);
}

.page-cockfighting-rules-tips__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0; /* Assuming shared.css handles body padding-top */
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.page-cockfighting-rules-tips__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3;
}

.page-cockfighting-rules-tips__hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 20px;
  max-width: 900px;
}

.page-cockfighting-rules-tips__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-cockfighting-rules-tips__btn-primary,
.page-cockfighting-rules-tips__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting-rules-tips__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-cockfighting-rules-tips__btn-primary:hover {
  background-color: #1e87b3;
  border-color: #1e87b3;
}

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

.page-cockfighting-rules-tips__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87b3;
  border-color: #1e87b3;
}

.page-cockfighting-rules-tips__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}

.page-cockfighting-rules-tips__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-cockfighting-rules-tips__text-block a {
  color: #26A9E0;
  text-decoration: none;
}

.page-cockfighting-rules-tips__text-block a:hover {
  text-decoration: underline;
}

.page-cockfighting-rules-tips__highlight-text {
  color: #26A9E0;
  font-weight: bold;
}

.page-cockfighting-rules-tips__brand-name {
  color: #26A9E0;
  font-weight: bold;
}

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

.page-cockfighting-rules-tips__grid-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
}

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

.page-cockfighting-rules-tips__grid-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting-rules-tips__list {
  list-style-type: disc;
  text-align: left;
  margin-left: 20px;
  color: #f0f0f0;
}

.page-cockfighting-rules-tips__list li {
  margin-bottom: 10px;
  font-size: 1em;
}

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

.page-cockfighting-rules-tips__odds-item {
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}

.page-cockfighting-rules-tips__odds-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting-rules-tips__odds-description {
  font-size: 1.05em;
  color: #f0f0f0;
}

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

.page-cockfighting-rules-tips__strategy-item {
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
  text-align: center;
}

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

.page-cockfighting-rules-tips__strategy-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting-rules-tips__strategy-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-cockfighting-rules-tips__tips-list {
  list-style-type: decimal;
  text-align: left;
  margin: 30px 0 30px 20px;
  color: #f0f0f0;
}

.page-cockfighting-rules-tips__tips-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-cockfighting-rules-tips__tips-list li strong {
  color: #26A9E0;
}

.page-cockfighting-rules-tips__tips-list li a {
  color: #26A9E0;
  text-decoration: none;
}

.page-cockfighting-rules-tips__tips-list li a:hover {
  text-decoration: underline;
}

.page-cockfighting-rules-tips__safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-cockfighting-rules-tips__safety-item {
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}

.page-cockfighting-rules-tips__safety-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting-rules-tips__safety-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-cockfighting-rules-tips__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #0a0a0a; /* Ensure dark background for this section */
}

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

.page-cockfighting-rules-tips__faq-list {
  margin-top: 30px;
}

.page-cockfighting-rules-tips__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting-rules-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-cockfighting-rules-tips__faq-question h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1em; /* Adjust to fit parent font size */
}

.page-cockfighting-rules-tips__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

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

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

.page-cockfighting-rules-tips__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

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

.page-cockfighting-rules-tips__faq-answer p {
  margin: 0 0 10px 0;
  font-size: 1em;
  color: #f0f0f0;
}

.page-cockfighting-rules-tips__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}

.page-cockfighting-rules-tips__faq-answer a:hover {
  text-decoration: underline;
}

/* General image styling to prevent filter usage */
.page-cockfighting-rules-tips img {
  filter: none; /* Ensure no CSS filter changes image colors */
}

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

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

  .page-cockfighting-rules-tips__container {
    padding: 30px 15px;
  }

  .page-cockfighting-rules-tips__hero-content {
    padding: 60px 15px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-cockfighting-rules-tips__hero-section {
    min-height: 400px;
    padding: 0; /* Assuming shared.css handles body padding-top */
  }

  .page-cockfighting-rules-tips__hero-content {
    padding: 40px 15px;
  }

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

  .page-cockfighting-rules-tips__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-cockfighting-rules-tips__hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px; /* Constrain button group width */
    margin: 0 auto;
  }

  /* 按钮与按钮容器 */
  .page-cockfighting-rules-tips__btn-primary,
  .page-cockfighting-rules-tips__btn-secondary,
  .page-cockfighting-rules-tips a[class*="button"],
  .page-cockfighting-rules-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-rules-tips__cta-buttons,
  .page-cockfighting-rules-tips__button-group,
  .page-cockfighting-rules-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;
  }

  /* 通用图片与容器 */
  .page-cockfighting-rules-tips img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting-rules-tips__section,
  .page-cockfighting-rules-tips__card,
  .page-cockfighting-rules-tips__container,
  .page-cockfighting-rules-tips__grid-item,
  .page-cockfighting-rules-tips__odds-item,
  .page-cockfighting-rules-tips__strategy-item,
  .page-cockfighting-rules-tips__safety-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting-rules-tips__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-cockfighting-rules-tips__text-block {
    font-size: 1em;
  }

  .page-cockfighting-rules-tips__grid,
  .page-cockfighting-rules-tips__odds-grid,
  .page-cockfighting-rules-tips__strategy-grid,
  .page-cockfighting-rules-tips__safety-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting-rules-tips__grid-item,
  .page-cockfighting-rules-tips__odds-item,
  .page-cockfighting-rules-tips__strategy-item,
  .page-cockfighting-rules-tips__safety-item {
    padding: 20px;
  }

  .page-cockfighting-rules-tips__grid-title,
  .page-cockfighting-rules-tips__odds-title,
  .page-cockfighting-rules-tips__strategy-title,
  .page-cockfighting-rules-tips__safety-title {
    font-size: 1.4em;
  }

  .page-cockfighting-rules-tips__list,
  .page-cockfighting-rules-tips__tips-list {
    margin-left: 15px;
  }

  .page-cockfighting-rules-tips__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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

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

  /* Ensure content area images are not too small */
  .page-cockfighting-rules-tips__grid-item .page-cockfighting-rules-tips__image,
  .page-cockfighting-rules-tips__strategy-item .page-cockfighting-rules-tips__image {
    min-height: 200px !important;
  }
}