.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, header offset handled by body */
  color: #ffffff;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
}

.page-cockfighting__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-cockfighting__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-cockfighting__hero-content h1 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__intro-text {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-cockfighting__section {
  padding: 60px 20px;
  text-align: center;
}

.page-cockfighting__light-bg {
  background: #F5F7FA;
  color: #333333;
}

.page-cockfighting__dark-bg {
  background: #E53935;
  color: #ffffff;
}

.page-cockfighting__medium-bg {
  background: #FF5A4F;
  color: #ffffff;
}

.page-cockfighting__container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
  box-sizing: border-box;
}

.page-cockfighting__section-title {
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.3;
  color: inherit; /* Inherit color from section background */
}

.page-cockfighting p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 1em;
  color: inherit;
}

.page-cockfighting strong.highlight {
  color: inherit;
  font-weight: 700;
}

/* Grid Layout for Game Types */
.page-cockfighting__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-cockfighting__card {
  background: #FFFFFF;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #E0E0E0;
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  max-width: 100%;
}

.page-cockfighting__card-title {
  font-size: 1.4em;
  font-weight: 600;
  margin: 20px 20px 10px;
  color: #E53935;
  line-height: 1.4;
}

.page-cockfighting__card p {
  font-size: 0.95em;
  line-height: 1.6;
  padding: 0 20px 20px;
  margin-bottom: 0;
}

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

.page-cockfighting__step-item {
  background: #FFFFFF;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  border: 1px solid #E0E0E0;
}

.page-cockfighting__step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px;
}

.page-cockfighting__step-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #E53935;
}

.page-cockfighting__link-text {
  color: #E53935;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 10px;
  transition: color 0.3s ease;
}

.page-cockfighting__link-text:hover {
  color: #FF5A4F;
  text-decoration: underline;
}

/* Content with Image Column */
.page-cockfighting__content-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-cockfighting__image-col {
  flex: 1;
  min-width: 300px;
}

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

.page-cockfighting__text-col {
  flex: 2;
  min-width: 300px;
}

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 30px;
}

.page-cockfighting__list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  line-height: 1.6;
  color: inherit;
}

.page-cockfighting__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FF5A4F;
  font-weight: bold;
}

/* Benefit Cards */
.page-cockfighting__benefits-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-cockfighting__benefit-card {
  padding: 30px;
  text-align: left;
}

.page-cockfighting__benefit-title {
  font-size: 1.35em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #E53935;
}

/* FAQ Section */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  text-align: left;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
  background: #f5f5f5;
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-cockfighting__faq-qtext strong.highlight {
  color: #E53935;
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #333333;
}

/* Bottom CTA */
.page-cockfighting__cta-bottom {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Buttons */
.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__full-width-btn {
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__hero-content h1 {
    font-size: 2.8em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__hero-content h1 {
    font-size: 2.2em; /* Adjusted for mobile */
    margin-bottom: 15px;
  }

  .page-cockfighting__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-cockfighting__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    width: 100%;
    max-width: 300px;
    margin-top: 20px;
  }

  .page-cockfighting__section {
    padding: 40px 15px;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-cockfighting__grid-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__card img {
    height: 200px;
  }

  .page-cockfighting__card-title {
    font-size: 1.2em;
    margin: 15px 15px 5px;
  }

  .page-cockfighting__card p {
    padding: 0 15px 15px;
  }

  .page-cockfighting__steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__step-item {
    padding: 25px;
  }

  .page-cockfighting__step-title {
    font-size: 1.2em;
  }

  .page-cockfighting__content-flex {
    flex-direction: column;
    gap: 30px;
  }

  .page-cockfighting__image-col,
  .page-cockfighting__text-col {
    min-width: unset;
    width: 100%;
  }

  .page-cockfighting__list li {
    font-size: 0.95em;
  }

  .page-cockfighting__benefits-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__benefit-card {
    padding: 25px;
  }

  .page-cockfighting__benefit-title {
    font-size: 1.2em;
  }

  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question { padding: 15px; }
  .page-cockfighting__faq-qtext { font-size: 15px; }
  .page-cockfighting__faq-answer { padding: 0 15px 15px; }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-cockfighting__full-width-btn {
    max-width: 100%;
    width: 100%;
  }
  
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-content h1 {
    font-size: 1.8em;
  }
  .page-cockfighting__section-title {
    font-size: 1.5em;
  }
  .page-cockfighting p {
    font-size: 0.95em;
  }
  .page-cockfighting__cta-button {
    font-size: 15px;
    padding: 10px 25px;
  }
  .page-cockfighting__card-title {
    font-size: 1.1em;
  }
}