.page-cockfighting {
  font-family: Arial, sans-serif;
  color: #1F2D3D;
  background-color: #F4F7FB;
}

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

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  margin-bottom: 20px;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-cockfighting__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-cockfighting__hero-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__hero-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #1F2D3D;
}

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

.page-cockfighting__about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-cockfighting__about-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__about-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-cockfighting__about-icon {
  width: 100%;
  max-width: 250px; /* Ensure images are not too small */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-cockfighting__about-item-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #2F6BFF;
}

.page-cockfighting__about-item-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #1F2D3D;
}

.page-cockfighting__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-cockfighting__guide-step {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.page-cockfighting__guide-number {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__guide-step-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #2F6BFF;
}

.page-cockfighting__guide-step-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #1F2D3D;
}

.page-cockfighting__guide-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 14px 30px;
  border-radius: 50px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__guide-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__type-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

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

.page-cockfighting__type-card-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 20px 0 10px;
  color: #1F2D3D;
}

.page-cockfighting__type-card-title a {
  color: #1F2D3D;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting__type-card-title a:hover {
  color: #2F6BFF;
}

.page-cockfighting__type-card-description {
  font-size: 1rem;
  line-height: 1.6;
  padding: 0 20px;
  margin-bottom: 20px;
  color: #1F2D3D;
}

.page-cockfighting__type-card-button {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 50px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__type-card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__promotions-section {
  text-align: center;
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 50px 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-cockfighting__promotions-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #1F2D3D;
}

.page-cockfighting__promotions-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__promotions-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__faq-question {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-cockfighting__faq-answer {
  font-size: 1rem;
  line-height: 1.6;
  color: #1F2D3D;
}

.page-cockfighting__cta-section {
  background: linear-gradient(90deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
  border-radius: 12px;
  margin-top: 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 16px 35px;
  border-radius: 50px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-cockfighting__hero-title {
    font-size: 2.5rem;
  }

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

  .page-cockfighting__hero-button {
    font-size: 1rem;
    padding: 12px 25px;
  }

  .page-cockfighting__section-title {
    font-size: 2rem;
  }

  .page-cockfighting__about-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__types-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-section {
    padding: 40px 15px;
  }

  .page-cockfighting__about-item-title {
    font-size: 1.3rem;
  }

  .page-cockfighting__guide-step-title {
    font-size: 1.2rem;
  }

  .page-cockfighting__type-card-title {
    font-size: 1.4rem;
  }

  .page-cockfighting__promotions-description {
    font-size: 0.95rem;
  }

  .page-cockfighting__promotions-button {
    font-size: 1rem;
    padding: 12px 25px;
  }

  .page-cockfighting__faq-question {
    font-size: 1.1rem;
  }

  .page-cockfighting__cta-title {
    font-size: 2rem;
  }

  .page-cockfighting__cta-button {
    font-size: 1.1rem;
    padding: 14px 30px;
  }

  /* Ensure images in content sections are responsive and don't overflow */
  .page-cockfighting img {
    max-width: 100%;
    height: auto;
  }

  .page-cockfighting__about-icon,
  .page-cockfighting__type-image {
    min-width: 200px; /* Ensure minimum size */
    min-height: 150px; /* Ensure minimum size, adjust as needed */
  }

  .page-cockfighting__type-image {
    height: 200px; /* Adjust fixed height for mobile if needed */
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 2rem;
  }

  .page-cockfighting__section-title,
  .page-cockfighting__cta-title {
    font-size: 1.8rem;
  }

  .page-cockfighting__about-icon,
  .page-cockfighting__type-image {
    max-width: 100%; /* Important for preventing overflow */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px;
    min-height: 150px;
  }
  .page-cockfighting__type-image {
    height: 180px;
  }
}