.page-cockfighting {
  font-family: Arial, sans-serif;
  color: var(--text-main, #1F2D3D);
  background-color: var(--background, #F4F7FB);
  line-height: 1.6;
}

.page-cockfighting__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: linear-gradient(180deg, var(--main-color, #2F6BFF) 0%, var(--aux-color, #6FA3FF) 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 1400px; /* Adjust as needed for hero image width */
  margin-bottom: 20px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  z-index: 1; /* Ensure content is above any potential background elements */
}

.page-cockfighting__hero-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.page-cockfighting__hero-description {
  font-size: 1.15em;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  background: var(--button-gradient, linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%));
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 15px var(--glow, rgba(165, 196, 255, 0.5));
  border: none;
  cursor: pointer;
}

.page-cockfighting__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px var(--glow, rgba(165, 196, 255, 0.7));
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: var(--text-main, #1F2D3D);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-cockfighting__about-section,
.page-cockfighting__types-section,
.page-cockfighting__guide-section,
.page-cockfighting__why-choose-section,
.page-cockfighting__faq-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: justify;
}

.page-cockfighting__text {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--text-main, #1F2D3D);
}

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

.page-cockfighting__type-card {
  background-color: var(--card-bg, #FFFFFF);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border, #D6E2FF);
}

.page-cockfighting__type-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__type-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-cockfighting__type-title {
  font-size: 1.5em;
  color: var(--text-main, #1F2D3D);
  margin-bottom: 15px;
  padding: 0 15px;
  font-weight: 600;
}

.page-cockfighting__type-description {
  font-size: 0.95em;
  color: var(--text-main, #1F2D3D);
  padding: 0 15px;
}

.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__guide-item {
  background-color: var(--card-bg, #FFFFFF);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border-left: 5px solid var(--main-color, #2F6BFF);
}

.page-cockfighting__guide-step-title {
  font-size: 1.3em;
  color: var(--main-color, #2F6BFF);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__interface-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  max-width: 800px;
}

.page-cockfighting__cta-button--bottom {
  margin-top: 30px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__advantages-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__advantage-item {
  background-color: var(--card-bg, #FFFFFF);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
  border: 1px solid var(--border, #D6E2FF);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-cockfighting__advantage-title {
  font-size: 1.4em;
  color: var(--main-color, #2F6BFF);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__promotion-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  align-self: center;
}

.page-cockfighting__faq-item {
  background-color: var(--card-bg, #FFFFFF);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border, #D6E2FF);
}

.page-cockfighting__faq-question {
  font-size: 1.2em;
  color: var(--custom-color_1776249996415, #000000);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__faq-answer {
  font-size: 1em;
  color: var(--text-main, #1F2D3D);
  line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 2.8em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-title {
    font-size: clamp(1.8em, 6vw, 2.5em); /* Clamp for H1 to avoid being too large */
    padding: 0 10px;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
    padding: 0 10px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__type-image {
    height: 200px;
  }
  .page-cockfighting__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-cockfighting__about-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__why-choose-section,
  .page-cockfighting__faq-section {
    padding: 40px 15px;
  }

  /* Critical: Prevent content area images from overflowing */
  .page-cockfighting img {
    max-width: 100%;
    height: auto;
  }

  /* Ensure content area images are at least 200px wide */
  .page-cockfighting__type-image,
  .page-cockfighting__interface-image,
  .page-cockfighting__promotion-image {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover; /* Ensure aspect ratio is maintained while filling space */
  }

  /* Specific override for hero image to respect min-width if needed, but hero is usually full width */
  .page-cockfighting__hero-image {
    min-width: unset;
    min-height: unset;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }
  .page-cockfighting__section-title {
    font-size: 1.5em;
  }
  .page-cockfighting__guide-item,
  .page-cockfighting__advantage-item,
  .page-cockfighting__faq-item {
    padding: 20px;
  }
}