.page-resources-live-cockfighting-guide {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #FFFFFF;
}

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

.page-resources-live-cockfighting-guide__section {
  padding: 60px 0;
  text-align: center;
}

.page-resources-live-cockfighting-guide__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-resources-live-cockfighting-guide__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

.page-resources-live-cockfighting-guide__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: inherit;
  font-weight: bold;
}

.page-resources-live-cockfighting-guide__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

/* Hero Section */
.page-resources-live-cockfighting-guide__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-offset, 120px); /* Default for desktop if shared doesn't set body padding */
  padding-bottom: 80px;
}

.page-resources-live-cockfighting-guide__hero-section .page-resources-live-cockfighting-guide__container {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
}

.page-resources-live-cockfighting-guide__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 900;
}

.page-resources-live-cockfighting-guide__hero-description {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-resources-live-cockfighting-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-live-cockfighting-guide__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Buttons */
.page-resources-live-cockfighting-guide__btn-primary,
.page-resources-live-cockfighting-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-live-cockfighting-guide__btn-primary {
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-resources-live-cockfighting-guide__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-resources-live-cockfighting-guide__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #FFFF00;
}

.page-resources-live-cockfighting-guide__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808;
}

/* Features Grid */
.page-resources-live-cockfighting-guide__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-live-cockfighting-guide__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  border: 1px solid #e0e0e0;
  color: #333333;
}

.page-resources-live-cockfighting-guide__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439;
}

.page-resources-live-cockfighting-guide__feature-text {
  font-size: 1em;
  color: #555555;
}

/* Content Image */
.page-resources-live-cockfighting-guide__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 50px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Steps Grid */
.page-resources-live-cockfighting-guide__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-live-cockfighting-guide__step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  border: 1px solid #e0e0e0;
  color: #333333;
  position: relative;
  padding-top: 60px;
}

.page-resources-live-cockfighting-guide__step-number {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #017439;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-resources-live-cockfishing-guide__step-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #017439;
}

.page-resources-live-cockfishing-guide__step-text {
  font-size: 1em;
  color: #555555;
}

/* Cockfighting Types Grid */
.page-resources-live-cockfighting-guide__types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-live-cockfighting-guide__type-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  border: 1px solid #e0e0e0;
  color: #333333;
}

.page-resources-live-cockfighting-guide__type-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439;
}

.page-resources-live-cockfighting-guide__type-text {
  font-size: 1em;
  color: #555555;
}

/* Strategy List */
.page-resources-live-cockfighting-guide__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-live-cockfighting-guide__strategy-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-resources-live-cockfighting-guide__strategy-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #ffffff;
}

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

/* Promotions Grid */
.page-resources-live-cockfighting-guide__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-live-cockfighting-guide__promotion-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  border: 1px solid #e0e0e0;
  color: #333333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-live-cockfighting-guide__promotion-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439;
}

.page-resources-live-cockfighting-guide__promotion-text {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-resources-live-cockfighting-guide__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-resources-live-cockfighting-guide__faq-item {
  background-color: #ffffff;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.page-resources-live-cockfighting-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #f0fdf5; /* Lighter shade of green for contrast */
  transition: background-color 0.3s ease;
}

.page-resources-live-cockfighting-guide__faq-question:hover {
  background-color: #e6faed;
}

.page-resources-live-cockfighting-guide__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: 1em; /* Adjust to fit parent font size */
}

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

.page-resources-live-cockfighting-guide__faq-item.active .page-resources-live-cockfighting-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-live-cockfighting-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-resources-live-cockfighting-guide__faq-item.active .page-resources-live-cockfighting-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to reveal content */
  padding: 20px;
}

.page-resources-live-cockfighting-guide__faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* CTA Bottom */
.page-resources-live-cockfighting-guide__cta-bottom {
  padding: 80px 0;
}

.page-resources-live-cockfighting-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* General Image Styles for content area */
.page-resources-live-cockfighting-guide img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

  .page-resources-live-cockfighting-guide__hero-description {
    font-size: 1.2em;
  }

  .page-resources-live-cockfighting-guide__section-title {
    font-size: 2em;
  }

  .page-resources-live-cockfighting-guide__btn-primary,
  .page-resources-live-cockfighting-guide__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-resources-live-cockfighting-guide__features-grid,
  .page-resources-live-cockfighting-guide__steps-grid,
  .page-resources-live-cockfighting-guide__types-grid,
  .page-resources-live-cockfighting-guide__promotions-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-resources-live-cockfighting-guide__strategy-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-resources-live-cockfighting-guide__hero-section {
    padding-top: var(--header-offset, 80px) !important; /* Adjust if shared.css provides smaller offset for mobile */
    padding-bottom: 50px;
  }

  .page-resources-live-cockfighting-guide__hero-title {
    font-size: 2.2em !important;
  }

  .page-resources-live-cockfighting-guide__hero-description {
    font-size: 1em !important;
    margin-bottom: 30px;
  }

  .page-resources-live-cockfighting-guide__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-resources-live-cockfighting-guide__section {
    padding: 40px 0;
  }

  .page-resources-live-cockfighting-guide__section-title {
    font-size: 1.8em !important;
  }

  .page-resources-live-cockfighting-guide__section-description {
    font-size: 0.95em !important;
    margin-bottom: 30px;
  }

  /* 通用图片与容器 */
  .page-resources-live-cockfighting-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-resources-live-cockfighting-guide__container,
  .page-resources-live-cockfighting-guide__section,
  .page-resources-live-cockfighting-guide__feature-item,
  .page-resources-live-cockfighting-guide__step-item,
  .page-resources-live-cockfighting-guide__type-item,
  .page-resources-live-cockfighting-guide__promotion-card,
  .page-resources-live-cockfighting-guide__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-resources-live-cockfighting-guide__btn-primary,
  .page-resources-live-cockfighting-guide__btn-secondary,
  .page-resources-live-cockfighting-guide a[class*="button"],
  .page-resources-live-cockfighting-guide 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-resources-live-cockfighting-guide__cta-buttons,
  .page-resources-live-cockfighting-guide__button-group,
  .page-resources-live-cockfighting-guide__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-resources-live-cockfighting-guide__features-grid,
  .page-resources-live-cockfighting-guide__steps-grid,
  .page-resources-live-cockfighting-guide__types-grid,
  .page-resources-live-cockfighting-guide__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-live-cockfighting-guide__strategy-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-live-cockfighting-guide__faq-question {
    padding: 15px;
    font-size: 1.1em;
  }

  .page-resources-live-cockfighting-guide__faq-answer {
    padding: 0 15px;
  }

  .page-resources-live-cockfighting-guide__faq-item.active .page-resources-live-cockfighting-guide__faq-answer {
    padding: 15px;
  }
}