.page-resources-thomo-cockfighting-commentator-analysis {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Inherited from shared.css body */
}

.page-resources-thomo-cockfighting-commentator-analysis__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-resources-thomo-cockfighting-commentator-analysis__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-resources-thomo-cockfighting-commentator-analysis__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-thomo-cockfighting-commentator-analysis__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0;
  text-align: left;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Adjust based on shared.css body padding */
}

.page-resources-thomo-cockfighting-commentator-analysis__hero-content {
  flex: 1;
  padding-left: 50px;
  max-width: 50%;
  z-index: 1;
}

.page-resources-thomo-cockfighting-commentator-analysis__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-resources-thomo-cockfighting-commentator-analysis__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-thomo-cockfighting-commentator-analysis__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  padding-right: 50px;
}

.page-resources-thomo-cockfighting-commentator-analysis__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-resources-thomo-cockfighting-commentator-analysis__hero-cta-buttons,
.page-resources-thomo-cockfighting-commentator-analysis__cta-buttons-bottom {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.page-resources-thomo-cockfighting-commentator-analysis__btn-primary,
.page-resources-thomo-cockfighting-commentator-analysis__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-thomo-cockfighting-commentator-analysis__btn-primary {
  background-color: #C30808; /* Custom color for registration/login */
  color: #FFFF00; /* Custom font color for registration/login */
  border: 2px solid #C30808;
}

.page-resources-thomo-cockfighting-commentator-analysis__btn-primary:hover {
  background-color: #a30606;
  transform: translateY(-3px);
}

.page-resources-thomo-cockfighting-commentator-analysis__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-resources-thomo-cockfighting-commentator-analysis__btn-secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
}

.page-resources-thomo-cockfighting-commentator-analysis__content-section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-thomo-cockfighting-commentator-analysis__content-section:last-of-type {
  border-bottom: none;
}

.page-resources-thomo-cockfighting-commentator-analysis__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: inherit;
}

.page-resources-thomo-cockfighting-commentator-analysis__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: inherit;
  text-align: justify;
}

.page-resources-thomo-cockfighting-commentator-analysis__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-resources-thomo-cockfighting-commentator-analysis__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-resources-thomo-cockfighting-commentator-analysis__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

.page-resources-thomo-cockfighting-commentator-analysis__list-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-resources-thomo-cockfighting-commentator-analysis__faq-section {
  padding: 60px 0;
}

.page-resources-thomo-cockfighting-commentator-analysis__faq-list {
  margin-top: 40px;
}

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

.page-resources-thomo-cockfighting-commentator-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  background-color: #017439;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-resources-thomo-cockfighting-commentator-analysis__faq-question:hover {
  background-color: #005f2e;
}

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

.page-resources-thomo-cockfighting-commentator-analysis__faq-item.active .page-resources-thomo-cockfighting-commentator-analysis__faq-toggle {
  transform: rotate(45deg);
}

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

.page-resources-thomo-cockfighting-commentator-analysis__faq-item.active .page-resources-thomo-cockfighting-commentator-analysis__faq-answer {
  max-height: 1000px !important;
  padding: 15px 25px 25px;
}

.page-resources-thomo-cockfighting-commentator-analysis__faq-answer p {
  margin-bottom: 15px;
  font-size: 1em;
  color: inherit;
}

.page-resources-thomo-cockfighting-commentator-analysis__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #ffffff;
  color: #333333;
}

.page-resources-thomo-cockfighting-commentator-analysis__cta-buttons-bottom {
  justify-content: center;
  margin-top: 40px;
}

.page-resources-thomo-cockfighting-commentator-analysis__keyword {
  font-weight: bold;
  color: #017439; /* Highlight keywords with primary color */
}

.page-resources-thomo-cockfighting-commentator-analysis__light-bg .page-resources-thomo-cockfighting-commentator-analysis__keyword {
  color: #017439; /* Keywords in light background */
}

.page-resources-thomo-cockfighting-commentator-analysis__dark-bg .page-resources-thomo-cockfighting-commentator-analysis__keyword {
  color: #FFFF00; /* Keywords in dark background */
}

.page-resources-thomo-cockfighting-commentator-analysis a {
  color: #017439;
  text-decoration: underline;
}

.page-resources-thomo-cockfighting-commentator-analysis__dark-bg a {
  color: #FFFF00;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-resources-thomo-cockfighting-commentator-analysis__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }

  .page-resources-thomo-cockfighting-commentator-analysis__hero-content {
    max-width: 100%;
    padding-left: 0;
    order: 2;
  }

  .page-resources-thomo-cockfighting-commentator-analysis__hero-title {
    font-size: 2.5em;
  }

  .page-resources-thomo-cockfighting-commentator-analysis__hero-image-wrapper {
    padding-right: 0;
    margin-bottom: 30px;
    order: 1;
  }

  .page-resources-thomo-cockfighting-commentator-analysis__hero-cta-buttons {
    justify-content: center;
  }

  .page-resources-thomo-cockfighting-commentator-analysis__section-title {
    font-size: 2em;
  }

  .page-resources-thomo-cockfighting-commentator-analysis__list-title {
    font-size: 1.4em;
  }
}

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

  /* HERO 主图区域 */
  .page-resources-thomo-cockfighting-commentator-analysis__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure proper spacing for mobile */
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-direction: column !important;
    text-align: center !important;
  }

  .page-resources-thomo-cockfighting-commentator-analysis__hero-content {
    max-width: 100% !important;
    padding-left: 0 !important;
    order: 2 !important;
  }

  .page-resources-thomo-cockfighting-commentator-analysis__hero-title {
    font-size: 1.8em !important;
    margin-bottom: 15px !important;
  }

  .page-resources-thomo-cockfighting-commentator-analysis__hero-description {
    font-size: 1em !important;
    margin-bottom: 20px !important;
  }

  .page-resources-thomo-cockfighting-commentator-analysis__hero-image-wrapper {
    padding-right: 0 !important;
    margin-bottom: 20px !important;
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .page-resources-thomo-cockfighting-commentator-analysis__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* 其他内容模块 (通用容器/section) */
  .page-resources-thomo-cockfighting-commentator-analysis__container,
  .page-resources-thomo-cockfighting-commentator-analysis__content-section,
  .page-resources-thomo-cockfighting-commentator-analysis__faq-section,
  .page-resources-thomo-cockfighting-commentator-analysis__cta-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-thomo-cockfighting-commentator-analysis__section-title {
    font-size: 1.5em !important;
    margin-bottom: 20px !important;
  }

  .page-resources-thomo-cockfighting-commentator-analysis__text-block {
    font-size: 0.95em !important;
    margin-bottom: 15px !important;
  }

  /* 通用图片与容器 */
  .page-resources-thomo-cockfighting-commentator-analysis img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* 按钮与按钮容器 */
  .page-resources-thomo-cockfighting-commentator-analysis__hero-cta-buttons,
  .page-resources-thomo-cockfighting-commentator-analysis__cta-buttons-bottom {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-thomo-cockfighting-commentator-analysis__btn-primary,
  .page-resources-thomo-cockfighting-commentator-analysis__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* FAQ items */
  .page-resources-thomo-cockfighting-commentator-analysis__faq-question {
    font-size: 1em !important;
    padding: 15px 20px !important;
  }

  .page-resources-thomo-cockfighting-commentator-analysis__faq-answer {
    padding: 0 20px !important;
  }

  .page-resources-thomo-cockfighting-commentator-analysis__faq-item.active .page-resources-thomo-cockfighting-commentator-analysis__faq-answer {
    padding: 15px 20px 20px !important;
  }

  .page-resources-thomo-cockfighting-commentator-analysis__list-item {
    padding: 20px !important;
  }

  .page-resources-thomo-cockfighting-commentator-analysis__list-title {
    font-size: 1.2em !important;
  }
}