.page-cockfighting {
  padding-top: 10px; /* Small top padding for main content below header */
  background-color: #FFFFFF;
  color: #333333;
  font-family: Arial, sans-serif;
}

.page-cockfighting__hero-section {
  margin-bottom: 30px;
  background-color: #017439; /* Use main color as a fallback background for hero */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
}

.page-cockfighting__hero-banner {
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.page-cockfighting__hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 5;
  object-fit: cover;
  object-position: center;
}

.page-cockfighting__hero-content {
  max-width: 90%;
  padding: 20px 15px;
  color: #FFFFFF;
}

.page-cockfighting__main-title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem); /* Adjusted H1 font size for better mobile display */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFFF00; /* Use yellow for H1 as per brand colors */
}

.page-cockfighting__description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 0 10px 15px;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

.page-cockfighting__cta-button--register {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #FFFF00;
}

.page-cockfighting__cta-button--register:hover {
  background-color: #9c0606;
  transform: translateY(-2px);
}

.page-cockfighting__cta-button--login {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #FFFF00;
}

.page-cockfighting__cta-button--login:hover {
  background-color: #9c0606;
  transform: translateY(-2px);
}

.page-cockfighting__section {
  padding: 40px 15px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-cockfighting__section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.page-cockfighting__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #C30808;
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-cockfighting__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.page-cockfighting__content-wrapper--reversed {
  flex-direction: column-reverse;
}

.page-cockfighting__text-content {
  flex: 1;
  line-height: 1.7;
  font-size: 1rem;
}

.page-cockfighting__text-content p {
  margin-bottom: 15px;
}

.page-cockfighting__image-container {
  flex: 1;
  margin: 0;
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__image-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: none; /* Ensure no CSS filters are applied */
}

.page-cockfighting__image-caption {
  font-size: 0.9rem;
  color: #666666;
  text-align: center;
  padding: 10px;
  background-color: #f0f0f0;
}

.page-cockfighting__steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-top: 30px;
}

.page-cockfighting__step-card {
  background-color: #f0f0f0;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-cockfighting__step-title {
  font-size: 1.25rem;
  color: #017439;
  margin-bottom: 10px;
}

.page-cockfighting__step-card a {
  color: #C30808;
  font-weight: bold;
  text-decoration: none;
}

.page-cockfighting__step-card a:hover {
  text-decoration: underline;
}

.page-cockfighting__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-cockfighting__cta-button--play-now {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-cockfighting__cta-button--play-now:hover {
  background-color: #005a2e;
  transform: translateY(-2px);
}

.page-cockfighting__types-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
}

.page-cockfighting__type-card {
  background-color: #f0f0f0;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-cockfighting__type-title {
  font-size: 1.2rem;
  color: #017439;
  margin-bottom: 10px;
}

.page-cockfighting__benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.page-cockfighting__benefits-list li {
  background-color: #e6f7ed; /* Light green background for list items */
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  border-left: 5px solid #017439;
  font-size: 1.05rem;
  line-height: 1.5;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__benefits-list li strong {
  color: #017439;
}

.page-cockfighting__faq-list {
  margin-top: 30px;
}

.page-cockfighting__faq-item {
  background-color: #f0f0f0;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: block;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: bold;
  color: #017439;
  background-color: #e6f7ed;
  position: relative;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: #d9f0e1;
}

.page-cockfighting__faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question::after {
  content: '-';
  transform: translateY(-50%) rotate(0deg);
}

.page-cockfighting__faq-answer {
  padding: 15px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  border-top: 1px solid #e0e0e0;
}

.page-cockfighting__faq-answer a {
  color: #C30808;
  text-decoration: none;
}

.page-cockfighting__faq-answer a:hover {
  text-decoration: underline;
}

.page-cockfighting__call-to-action {
  text-align: center;
  padding: 50px 15px;
  background-color: #017439;
  color: #FFFFFF;
  border-radius: 0;
}

.page-cockfighting__call-to-action .page-cockfighting__section-title {
  color: #FFFF00;
}

.page-cockfighting__call-to-action .page-cockfighting__section-title::after {
  background-color: #FFFF00;
}

.page-cockfighting__call-to-action .page-cockfighting__description {
  color: #FFFFFF;
  max-width: 700px;
  margin: 0 auto 30px;
}

.page-cockfighting__cta-button--final-register {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #FFFF00;
  padding: 15px 35px;
  font-size: 1.1rem;
}

.page-cockfighting__cta-button--final-register:hover {
  background-color: #9c0606;
  transform: translateY(-2px);
}

/* Desktop styles */
@media (min-width: 768px) {
  .page-cockfighting__hero-content {
    max-width: 1000px;
    padding: 30px 20px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
  }

  .page-cockfighting__description {
    font-size: 1.2rem;
  }

  .page-cockfighting__cta-button {
    padding: 15px 30px;
    margin: 0 15px;
  }

  .page-cockfighting__section {
    padding: 60px 20px;
  }

  .page-cockfighting__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
  }

  .page-cockfighting__content-wrapper {
    flex-direction: row;
    gap: 50px;
  }

  .page-cockfighting__content-wrapper--reversed {
    flex-direction: row-reverse;
  }

  .page-cockfighting__text-content {
    font-size: 1.1rem;
  }

  .page-cockfighting__steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-cockfighting__types-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-cockfighting__benefits-list li {
    font-size: 1.1rem;
  }
}

@media (min-width: 1024px) {
  .page-cockfighting__steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-cockfighting__types-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mobile content area image constraints */
@media (max-width: 768px) {
  .page-cockfighting__about-cockfighting img,
  .page-cockfighting__why-choose-f8bet1 img {
    max-width: 100%;
    height: auto;
  }
  .page-cockfighting__content-wrapper {
    flex-direction: column; /* Ensure stacked layout on small screens */
  }
  .page-cockfighting__content-wrapper--reversed {
    flex-direction: column-reverse; /* Maintain order for reversed sections */
  }
  .page-cockfighting__image-container {
    max-width: 100%; /* Full width for images on mobile */
  }
  /* Ensure no image within .page-cockfighting is smaller than 200px */
  .page-cockfighting img {
    min-width: 200px; /* Enforce minimum display size */
    min-height: 200px; /* Enforce minimum display size */
    object-fit: cover; /* Prevent stretching if aspect ratio changes */
  }
  .page-cockfighting__hero-banner img {
    min-width: unset; /* Hero can be responsive without min-width */
    min-height: unset;
  }
}