.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: var(--secondary-color, #FFFFFF);
}

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

.page-cockfighting__dark-section {
  background-color: #017439;
  color: #ffffff;
}

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

.page-cockfighting__section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #017439;
}

.page-cockfighting__section-title--white {
  color: #ffffff;
}

.page-cockfighting__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-cockfighting__section-description--white {
  color: #f0f0f0;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  text-align: center;
  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: #005f2f;
  border-color: #005f2f;
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #017439;
}

.page-cockfighting__btn-register {
  background-color: #C30808;
  color: #FFFF00;
  border-color: #C30808;
}

.page-cockfighting__btn-register:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-cockfighting__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

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

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  min-height: 400px;
  max-height: 675px;
  object-fit: cover;
}

.page-cockfighting__hero-content-wrapper {
  width: 100%;
  max-width: 1000px;
  padding: 30px 20px;
  text-align: center;
  box-sizing: border-box;
}

.page-cockfighting__main-title {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__intro-text {
  font-size: 18px;
  color: #555555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Introduction Section */
.page-cockfighting__introduction-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-cockfighting__introduction-section .page-cockfighting__section-title {
  color: #ffffff;
}

.page-cockfighting__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-cockfighting__text-block {
  flex: 1;
  font-size: 17px;
  line-height: 1.7;
}

.page-cockfighting__text-block p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

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

.page-cockfighting__content-image {
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Benefits Section */
.page-cockfighting__benefits-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

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

.page-cockfighting__benefit-card {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__benefit-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-cockfighting__benefit-title {
  font-size: 22px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
}

.page-cockfighting__benefit-text {
  font-size: 16px;
  color: #555555;
}

/* How To Play Section */
.page-cockfighting__how-to-play-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-cockfighting__how-to-play-section .page-cockfighting__section-title {
  color: #ffffff;
}

.page-cockfighting__how-to-play-section .page-cockfighting__section-description {
  color: #f0f0f0;
}

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

.page-cockfighting__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-cockfighting__step-number {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 48px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1;
}

.page-cockfighting__step-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFFF00;
  position: relative;
  z-index: 1;
}

.page-cockfighting__step-text {
  font-size: 16px;
  color: #f0f0f0;
  position: relative;
  z-index: 1;
}

/* Strategies Section */
.page-cockfighting__strategies-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

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

.page-cockfighting__strategy-card {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__strategy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__strategy-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-cockfighting__strategy-card h3,
.page-cockfighting__strategy-card p {
  padding: 0 25px;
}

.page-cockfighting__strategy-title {
  font-size: 20px;
  font-weight: 700;
  color: #017439;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-cockfighting__strategy-text {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
}

/* Types Section */
.page-cockfighting__types-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-cockfighting__types-section .page-cockfighting__section-title {
  color: #ffffff;
}

.page-cockfighting__types-section .page-cockfighting__section-description {
  color: #f0f0f0;
}

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

.page-cockfighting__type-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__type-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-cockfighting__type-title {
  font-size: 20px;
  font-weight: 700;
  margin-top: 20px;
  color: #FFFF00;
}

.page-cockfighting__type-text {
  font-size: 16px;
  padding: 10px 20px 20px;
  color: #f0f0f0;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

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

.page-cockfighting__promo-card {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-cockfighting__promo-title {
  font-size: 22px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-cockfighting__promo-text {
  font-size: 16px;
  color: #555555;
  margin-bottom: 25px;
  padding: 0 20px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-cockfighting__faq-section .page-cockfighting__section-title {
  color: #ffffff;
}

.page-cockfighting__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
  user-select: none;
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}

.page-cockfighting__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-cockfighting__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: #FFFF00;
}

.page-cockfighting__faq-answer {
  padding: 15px 25px 25px;
  font-size: 16px;
  color: #f0f0f0;
  line-height: 1.7;
}

/* Call To Action Section */
.page-cockfighting__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-cockfighting__cta-section .page-cockfighting__container {
  border-radius: 15px;
  padding: 60px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__container {
    padding: 20px 30px;
  }

  .page-cockfighting__hero-content-wrapper {
    padding: 20px;
  }

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

  .page-cockfighting__image-block {
    width: 100%;
  }

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

  .page-cockfighting__promo-image {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__container,
  .page-cockfighting__hero-content-wrapper,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__content-grid,
  .page-cockfighting__benefits-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__strategy-grid,
  .page-cockfighting__types-grid,
  .page-cockfighting__promo-cards,
  .page-cockfighting__faq-list,
  .page-cockfighting__faq-item,
  .page-cockfighting__faq-question,
  .page-cockfighting__faq-answer {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    margin-bottom: 20px;
  }

  .page-cockfighting__hero-image {
    object-fit: contain !important; /* Hero mobile image must contain, not cover */
    aspect-ratio: unset !important;
    max-height: none !important;
    min-height: 250px;
  }

  .page-cockfighting__main-title {
    font-size: 32px;
  }

  .page-cockfighting__intro-text {
    font-size: 16px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .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 !important;
    padding-right: 15px !important;
  }

  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-cockfighting__content-grid {
    flex-direction: column;
  }

  .page-cockfighting__benefits-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__strategy-grid,
  .page-cockfighting__types-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__benefit-card,
  .page-cockfighting__step-card,
  .page-cockfighting__strategy-card,
  .page-cockfighting__type-card {
    padding: 20px;
  }

  .page-cockfighting__promo-image {
    height: 200px;
  }

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

  .page-cockfighting__section-title {
    font-size: 26px;
  }

  .page-cockfighting__section-description {
    font-size: 16px;
  }

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

  .page-cockfighting__faq-answer {
    font-size: 15px;
    padding: 10px 20px 20px;
  }

  .page-cockfighting__cta-section {
    padding: 40px 0;
  }

  .page-cockfighting__cta-section .page-cockfighting__container {
    padding: 30px 20px;
  }
}