/* style/cockfighting-match-intro.css */
.page-cockfighting-match-intro {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text on light body background */
  background: #FFFFFF; /* Default body background */
}

/* 🚨 固定页头与主体间距 */
.page-cockfighting-match-intro__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* 使用CSS变量预留空间 */
  background-color: #f8f8f8; /* Light background for hero section */
}

.page-cockfighting-match-intro__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-cockfighting-match-intro__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-cockfighting-match-intro__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-cockfighting-match-intro__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-cockfighting-match-intro__hero-title {
  font-size: 3.2em;
  color: #017439; /* Primary color for main title */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting-match-intro__hero-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting-match-intro__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  width: 100%;
}

.page-cockfighting-match-intro__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting-match-intro__cta-button--primary {
  background: #C30808; /* Register color */
  color: #ffffff;
  border: 2px solid #C30808;
}

.page-cockfighting-match-intro__cta-button--primary:hover {
  background: #a30606;
  border-color: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-match-intro__cta-button--secondary {
  background: #ffffff;
  color: #017439; /* Primary color */
  border: 2px solid #017439;
}

.page-cockfighting-match-intro__cta-button--secondary:hover {
  background: #017439;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-match-intro__btn-primary { /* Used in FAQ answers */
  background: #C30808;
  color: #ffffff;
  border: 2px solid #C30808;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 15px;
}

.page-cockfighting-match-intro__btn-primary:hover {
  background: #a30606;
  border-color: #a30606;
}

.page-cockfighting-match-intro__btn-secondary { /* Used in FAQ answers */
  background: #ffffff;
  color: #017439;
  border: 2px solid #017439;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 15px;
  margin-left: 10px;
}

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

.page-cockfighting-match-intro__section {
  padding: 60px 20px;
  background-color: #ffffff;
}

.page-cockfighting-match-intro__section:nth-of-type(even) {
  background-color: #f9f9f9;
}

.page-cockfighting-match-intro__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-cockfighting-match-intro__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cockfighting-match-intro__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
  color: #333333;
}

.page-cockfighting-match-intro__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

.page-cockfighting-match-intro__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-cockfighting-match-intro__image-wrapper {
  margin-bottom: 30px;
  text-align: center;
}

.page-cockfighting-match-intro__image-wrapper img {
  width: 100%;
  height: auto;
  max-width: 800px; /* Example max-width for content images */
  border-radius: 8px;
  object-fit: cover;
  margin: 0 auto;
  display: block;
}

/* Dark background section for conclusion */
.page-cockfighting-match-intro__dark-bg {
  background-color: #017439; /* Primary color */
  color: #ffffff; /* White text for contrast */
  padding: 60px 20px;
  text-align: center;
}

.page-cockfighting-match-intro__dark-bg .page-cockfighting-match-intro__section-title {
  color: #ffffff;
}

.page-cockfighting-match-intro__dark-bg .page-cockfighting-match-intro__text-block {
  color: #f0f0f0;
}

/* FAQ styles */
.page-cockfighting-match-intro__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-cockfighting-match-intro__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}