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

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

.page-cockfighting__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
  background-color: #2F6BFF; /* Main color for hero background */
  position: relative;
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px; /* Maintain aspect ratio */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-cockfighting__hero-content {
  text-align: center;
  padding: 0 20px 40px;
  color: #FFFFFF;
  max-width: 900px;
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFFFFF;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: 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 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__section-title {
  text-align: center;
  font-weight: bold;
  margin-bottom: 40px;
  margin-top: 60px;
  color: #1F2D3D;
}

.page-cockfighting__sub-title {
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 15px;
  color: #1F2D3D;
}

.page-cockfighting__text-content {
  line-height: 1.6;
  margin-bottom: 20px;
  color: #1F2D3D;
}

.page-cockfighting__about-section, .page-cockfighting__how-to-play-section, .page-cockfighting__features-section, .page-cockfighting__faq-section {
  padding: 40px 0;
}

.page-cockfighting__image-with-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__image-with-text .page-cockfighting__content-image {
  flex: 1 1 45%;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__image-with-text .page-cockfighting__text-block {
  flex: 1 1 45%;
}

.page-cockfighting__read-more-link {
  display: inline-block;
  margin-top: 15px;
  color: #2F6BFF;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-cockfighting__read-more-link:hover {
  color: #6FA3FF;
}

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

.page-cockfighting__step-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px; /* Ensure cards have similar height */
}

.page-cockfighting__step-title {
  font-weight: bold;
  color: #2F6BFF;
  margin-bottom: 15px;
  font-size: 1.25em;
}

.page-cockfighting__step-card p {
  color: #1F2D3D;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-cockfighting__step-button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-cockfighting__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: 40px;
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__feature-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-cockfighting__feature-title {
  font-weight: bold;
  color: #2F6BFF;
  margin-bottom: 10px;
  font-size: 1.2em;
}

.page-cockfighting__feature-item p {
  color: #1F2D3D;
  line-height: 1.6;
}

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

.page-cockfighting__accordion {
  margin-top: 40px;
}

.page-cockfighting__accordion-item {
  background-color: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__accordion-header {
  width: 100%;
  text-align: left;
  padding: 18px 25px;
  font-weight: bold;
  font-size: 1.1em;
  color: #1F2D3D;
  background-color: #FFFFFF;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background-color 0.3s ease;
}

.page-cockfighting__accordion-header:hover {
  background-color: #F4F7FB;
}

.page-cockfighting__accordion-content {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-cockfighting__accordion-content p {
  padding-bottom: 18px;
  color: #1F2D3D;
  line-height: 1.6;
}

.page-cockfighting__accordion-item.active .page-cockfighting__accordion-content {
  max-height: 200px; /* Adjust as needed */
  padding-top: 10px;
}

.page-cockfighting__view-all-faq {
  display: block;
  text-align: center;
  margin-top: 30px;
  color: #2F6BFF;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-cockfighting__view-all-faq:hover {
  color: #6FA3FF;
}

.page-cockfighting__cta-banner {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  padding: 60px 20px;
  text-align: center;
  color: #FFFFFF;
  margin-top: 60px;
}

.page-cockfighting__cta-content {
  max-width: 900px;
}

.page-cockfighting__cta-title {
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.3;
}

.page-cockfighting__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-cockfighting__cta-button--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

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

@media (max-width: 768px) {
  .page-cockfighting__container {
    padding: 15px;
  }
  .page-cockfighting__hero-content {
    padding: 0 15px 30px;
  }
  .page-cockfighting__main-title {
    font-size: 2em; /* Smaller for mobile */
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__cta-button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-cockfighting__section-title {
    font-size: 1.7em;
    margin-top: 40px;
    margin-bottom: 30px;
  }
  .page-cockfighting__image-with-text {
    flex-direction: column;
    gap: 20px;
  }
  .page-cockfighting__image-with-text .page-cockfighting__content-image, 
  .page-cockfighting__image-with-text .page-cockfighting__text-block {
    flex: 1 1 100%;
  }
  .page-cockfighting__content-image, .page-cockfighting__image-full-width, .page-cockfighting__image-center {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min size for content images */
    min-height: 200px; /* Enforce min size for content images */
  }
  .page-cockfighting__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__cta-banner {
    padding: 40px 15px;
  }
  .page-cockfighting__cta-title {
    font-size: 1.5em;
  }
  .page-cockfighting__cta-button--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
}

/* Ensure all images within .page-cockfighting are responsive and meet minimum size */
@media (max-width: 768px) {
  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px;
    min-height: 200px;
  }
}

.page-cockfighting h1 {
  font-size: clamp(2em, 4vw, 3em); /* Adjust H1 size responsively, avoid fixed large values */
}
.page-cockfighting h2 {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
}
.page-cockfighting h3 {
  font-size: clamp(1.3em, 2.5vw, 1.6em);
}