.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css #121212 */
}

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

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 70vh; /* Limit height to prevent image from being too tall */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  margin-top: 30px; /* Space between image and text */
  max-width: 900px;
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
}

.page-cockfighting__hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-cockfighting__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-cockfighting__btn-primary:hover {
  background-color: #005f2e;
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-cockfighting__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-cockfighting__btn-large {
  font-size: 1.1rem;
  padding: 18px 35px;
}

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

.page-cockfighting__introduction-section,
.page-cockfighting__why-choose-us,
.page-cockfighting__faq-section {
  padding: 80px 0;
}

.page-cockfighting__dark-section {
  background-color: #1a1a1a; /* Slightly lighter dark background for sections */
  color: #ffffff;
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #017439;
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
  position: relative;
}

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

.page-cockfighting__text-block {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #e0e0e0;
  text-align: justify;
}

.page-cockfighting__history-rules-section,
.page-cockfighting__guide-section,
.page-cockfighting__conclusion-section {
  padding: 80px 0;
  background-color: #121212;
  color: #ffffff;
}

.page-cockfighting__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: start;
}

.page-cockfighting__grid-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  height: 100%;
  box-sizing: border-box;
}

.page-cockfighting__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  min-height: 200px; /* Ensure minimum size */
  object-fit: cover;
}

.page-cockfighting__sub-title {
  font-size: 1.6rem;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-cockfighting__list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

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

.page-cockfighting__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 100%;
  box-sizing: border-box;
}

.page-cockfighting__feature-title {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__feature-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #e0e0e0;
}

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

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

.page-cockfighting__step-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  height: 100%;
  box-sizing: border-box;
  position: relative;
  padding-top: 60px; /* Space for step number */
}

.page-cockfighting__step-number {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #017439;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  border: 2px solid #ffffff;
}

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

.page-cockfighting__step-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #e0e0e0;
}

.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__faq-item summary {
  list-style: none; /* Remove default marker */
}

.page-cockfighting__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for webkit browsers */
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: #017439; /* Brand color for question background */
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  width: 20px;
  text-align: center;
}

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #e0e0e0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-cockfighting__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    margin-top: 20px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-cockfighting__hero-description {
    font-size: 1.1rem;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }
  .page-cockfighting__grid-item,
  .page-cockfighting__feature-card,
  .page-cockfighting__step-card {
    padding: 25px;
  }
  .page-cockfighting__sub-title,
  .page-cockfighting__feature-title,
  .page-cockfighting__step-title {
    font-size: 1.4rem;
  }
  .page-cockfighting__text-block,
  .page-cockfighting__feature-description,
  .page-cockfighting__step-description,
  .page-cockfighting__list li,
  .page-cockfighting__faq-answer {
    font-size: 1rem;
  }
  .page-cockfighting__faq-question {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 10px 15px 40px;
  }
  .page-cockfighting__hero-content {
    margin-top: 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-cockfighting__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__btn-large {
    padding: 15px 25px;
  }
  .page-cockfighting__introduction-section,
  .page-cockfighting__history-rules-section,
  .page-cockfighting__why-choose-us,
  .page-cockfighting__guide-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 40px 0;
  }
  .page-cockfighting__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }
  .page-cockfighting__text-block {
    font-size: 0.95rem;
  }
  .page-cockfighting__grid-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-cockfighting__grid-item,
  .page-cockfighting__feature-card,
  .page-cockfighting__step-card {
    padding: 20px;
  }
  .page-cockfighting__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__sub-title,
  .page-cockfighting__feature-title,
  .page-cockfighting__step-title {
    font-size: 1.3rem;
  }
  .page-cockfighting__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    font-size: 0.9rem;
    padding: 15px 20px;
  }
  .page-cockfighting__feature-grid,
  .page-cockfighting__guide-steps {
    gap: 20px;
  }
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__image,
  .page-cockfighting__feature-card,
  .page-cockfighting__step-card,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}