/* style/cockfighting.css */

/* Base styles for the page */
.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF;
}

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

.page-cockfighting__section {
  padding: 40px 0;
  margin-bottom: 20px;
}

.page-cockfighting__section-title {
  font-size: clamp(2em, 3vw, 2.5em);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-cockfighting__sub-title {
  font-size: clamp(1.5em, 2.5vw, 2em);
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__paragraph {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-cockfighting__highlight {
  color: #26A9E0;
  font-weight: bold;
}

.page-cockfighting__text-link {
  color: #26A9E0;
  text-decoration: underline;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding for first section */
  padding-bottom: 60px;
  background-color: #f5f5f5;
}

.page-cockfighting__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-cockfighting__hero-content {
  text-align: center;
  max-width: 800px;
  padding: 20px;
  margin-top: -80px; /* Adjust to slightly overlap the image, but not text on image */
  background-color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  z-index: 1;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5em, 4vw, 3.5em);
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.1;
}

.page-cockfighting__hero-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 25px;
}

/* CTA Buttons */
.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  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-cockfighting__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-primary:hover {
  background-color: #1a7fb0;
  transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: #e0f2f7;
  transform: translateY(-2px);
}

.page-cockfighting__btn-large {
    padding: 18px 35px;
    font-size: 1.1em;
}

.page-cockfighting__btn-video-cta {
    margin-top: 20px;
}

/* Video Section */
.page-cockfighting__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    padding-top: 10px; /* Small top padding */
    background-color: #f0f8ff;
    margin-bottom: 20px;
}

.page-cockfighting__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    margin-bottom: 20px;
}

.page-cockfighting__video {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.page-cockfighting__video-link {
    display: block;
    text-decoration: none;
}

/* Content Blocks */
.page-cockfighting__content-block {
  margin-bottom: 40px;
}

.page-cockfighting__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__image--center {
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 15px;
}

.page-cockfighting__numbered-list {
  list-style: decimal;
  margin-left: 25px;
  margin-bottom: 15px;
}

.page-cockfighting__list-item {
  margin-bottom: 8px;
  font-size: 1.05em;
}

/* Advantages Section */
.page-cockfighting__advantages {
  background-color: #26A9E0;
  color: #ffffff; /* Dark background配浅色文字 */
  padding: 60px 0;
}

.page-cockfighting__advantages .page-cockfighting__section-title,
.page-cockfighting__advantages .page-cockfighting__paragraph {
  color: #ffffff;
}

.page-cockfighting__advantages .page-cockfighting__highlight {
  color: #f0f8ff;
}

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

.page-cockfighting__feature-card {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-cockfighting__feature-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__feature-description {
  font-size: 1em;
  color: #f0f8ff;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}

.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #fdfdfd;
  border-bottom: 1px solid #eee;
  list-style: none; /* For details tag */
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none; /* For details tag */
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  background-color: #eaf6fc;
  border-bottom: 1px solid #d0e7f4;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
  padding: 15px 25px;
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
}

/* Conclusion Section */
.page-cockfighting__conclusion {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-cockfighting__conclusion .page-cockfighting__section-title,
.page-cockfighting__conclusion .page-cockfighting__paragraph {
  color: #ffffff;
}

.page-cockfighting__conclusion .page-cockfighting__highlight {
  color: #f0f8ff;
}

.page-cockfighting__conclusion-content {
  max-width: 800px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    margin-top: -60px;
    padding: 15px;
  }
}

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

  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting__section {
    padding: 30px 0;
  }

  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }

  .page-cockfighting__hero-content {
    margin-top: -40px;
    padding: 15px;
    width: calc(100% - 30px);
  }

  .page-cockfighting__main-title {
    font-size: 2em;
  }

  .page-cockfighting__hero-description {
    font-size: 1em;
  }

  /* Images responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Image containers responsiveness */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__content-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Video responsiveness */
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Video containers responsiveness */
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting__video-section {
    padding-top: 10px !important;
  }

  /* Button responsiveness */
  .page-cockfighting__cta-button,
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting 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;
    text-align: center;
  }
  
  /* Button containers responsiveness */
  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__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;
    display: flex;
    flex-direction: column;
  }

  .page-cockfighting__features-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__feature-card {
    padding: 20px;
  }

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

  .page-cockfighting__faq-answer {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__sub-title {
    font-size: 1.3em;
  }
  .page-cockfighting__cta-button {
    padding: 12px 20px;
    font-size: 0.9em;
  }
}

/* Color Contrast Fixes for specific elements if needed */
.page-cockfighting__dark-section .page-cockfighting__text-link {
  color: #f0f8ff;
}