.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  line-height: 1.6;
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.95); /* Slightly transparent white background for text */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-top: -80px; /* Overlap with image slightly for visual effect */
}

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

.page-cockfighting__intro-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #333333;
}

.page-cockfighting__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

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

.page-cockfighting__btn-primary:hover {
  background-color: #1e87b6;
  border-color: #1e87b6;
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #26A9E0;
}

.page-cockfighting__btn-small {
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 1px solid #26A9E0;
  display: inline-block;
}

.page-cockfighting__btn-small:hover {
  background-color: #1e87b6;
  border-color: #1e87b6;
}

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

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

.page-cockfighting__about-section,
.page-cockfighting__guide-section,
.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-cockfighting__dark-section {
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 80px 0;
}

.page-cockfighting__dark-section .page-cockfighting__section-title {
  color: #FFFFFF;
}

.page-cockfighting__dark-section .page-cockfighting__intro-text,
.page-cockfighting__dark-section p {
  color: #FFFFFF;
}

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

.page-cockfighting__feature-item {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background: #f9f9f9;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-cockfighting__feature-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-cockfighting__feature-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

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

.page-cockfighting__advantage-card {
  background: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-cockfighting__advantage-card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__advantage-icon {
  width: 100%;
  max-width: 80px;
  height: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1); /* Ensure icons are white on dark background */
}

.page-cockfighting__advantage-title {
  font-size: 1.4rem;
  color: #FFFFFF;
  margin-bottom: 15px;
}

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

.page-cockfighting__guide-item {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-cockfighting__guide-step-title {
  font-size: 1.6rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting__guide-item a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-cockfighting__guide-item a:hover {
  color: #1e87b6;
}

.page-cockfighting__promotions-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
}

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

.page-cockfighting__card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  color: #FFFFFF;
}

.page-cockfighting__card-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-cockfighting__card-title {
  font-size: 1.4rem;
  margin: 20px 20px 10px 20px;
  color: #FFFFFF;
}

.page-cockfighting__card p {
  font-size: 1rem;
  margin: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-cockfighting__card .page-cockfighting__btn-small {
  margin: 0 20px 20px 20px;
  align-self: flex-start;
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 1px solid #FFFFFF;
}

.page-cockfighting__card .page-cockfighting__btn-small:hover {
  background-color: #e0f2f7;
  color: #26A9E0;
}

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

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

.page-cockfighting__faq-item {
  background: #f9f9f9;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #e0f2f7;
  border-bottom: 1px solid #d0e0e3;
}

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

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom: 1px solid transparent;
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 20px;
  user-select: none;
}

.page-cockfighting__faq-item details > summary {
  list-style: none;
}

.page-cockfighting__faq-item details > summary::-webkit-details-marker {
  display: none;
}

.page-cockfighting__faq-answer {
  padding: 0 30px 20px 30px;
  font-size: 1rem;
  color: #555555;
  background-color: #f9f9f9;
}

.page-cockfighting__cta-banner {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
  text-align: center;
}

.page-cockfighting__cta-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-cockfighting__cta-banner-image {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-cockfighting__cta-banner-text .page-cockfighting__section-title {
  margin-bottom: 20px;
}

.page-cockfighting__cta-banner-text p {
  margin-bottom: 30px;
}

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

  .page-cockfighting__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

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

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-cockfighting__hero-content {
    margin-top: -40px;
    padding: 25px 15px;
  }

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

  .page-cockfighting__intro-text {
    font-size: 1rem;
  }

  .page-cockfighting__about-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__dark-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__cta-banner {
    padding: 40px 0;
  }

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

  .page-cockfighting__feature-grid,
  .page-cockfighting__advantages-grid,
  .page-cockfighting__promotion-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__feature-item,
  .page-cockfighting__advantage-card,
  .page-cockfighting__card {
    padding: 20px;
  }

  .page-cockfighting__feature-title,
  .page-cockfighting__advantage-title,
  .page-cockfighting__card-title,
  .page-cockfighting__guide-step-title {
    font-size: 1.3rem;
  }

  .page-cockfighting p,
  .page-cockfighting li {
    font-size: 0.95rem;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }

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

  .page-cockfighting__cta-banner-content {
    flex-direction: column;
  }

  /* Mobile image and container responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__container,
  .page-cockfighting__feature-item,
  .page-cockfighting__advantage-card,
  .page-cockfighting__card,
  .page-cockfighting__cta-banner-content,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__promotion-cards,
  .page-cockfighting__faq-list,
  .page-cockfighting__guide-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-cockfighting__hero-image-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-cockfighting__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-cockfighting__cta-buttons--center {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-cockfighting__advantage-icon {
    filter: brightness(0) invert(1) !important; /* Ensure icons are white on dark background */
  }
}