.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #F5F7FA;
}

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

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

.page-cockfighting__dark-section .page-cockfighting__section-title,
.page-cockfighting__dark-section .page-cockfighting__text-block {
  color: #ffffff;
}

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

.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #E53935;
  line-height: 1.2;
}

.page-cockfighting__section-title--large {
  font-size: 44px;
  margin-bottom: 30px;
}

.page-cockfighting__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__hero-section {
  position: relative;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 80px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.25rem;
  margin-bottom: 40px;
  line-height: 1.5;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.page-cockfighting__btn-tertiary {
  background: #E53935;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 15px;
  border-radius: 5px;
}

.page-cockfighting__btn-tertiary:hover {
  background: #FF5A4F;
  transform: translateY(-1px);
}

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

.page-cockfighting__step-card {
  background: #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;
  align-items: center;
}

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

.page-cockfighting__step-description {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-cockfighting__bet-type-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-cockfighting__bet-type-title {
  font-size: 22px;
  font-weight: 700;
  color: #E53935;
  margin-bottom: 15px;
}

.page-cockfighting__bet-type-description {
  font-size: 16px;
  color: #555555;
}

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

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

.page-cockfighting__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #E53935;
  margin-bottom: 15px;
}

.page-cockfighting__feature-description {
  font-size: 16px;
  color: #555555;
}

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

.page-cockfighting__promo-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

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

.page-cockfighting__promo-description {
  font-size: 16px;
  color: #555555;
}

.page-cockfighting__promo-cta {
  margin-top: 40px;
}

.page-cockfighting__article-figure {
  margin: 40px auto;
  max-width: 1000px;
  text-align: center;
}

.page-cockfighting__article-figure img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__figcaption {
  font-size: 14px;
  color: #666666;
  margin-top: 10px;
}

/* FAQ Styles */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
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-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: #555555;
}

/* General image responsiveness */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
  }

  .page-cockfighting__hero-description {
    font-size: 1.1rem;
  }

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

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

  .page-cockfighting__steps-grid,
  .page-cockfighting__bet-types-grid,
  .page-cockfighting__feature-list,
  .page-cockfighting__promo-grid {
    gap: 20px;
  }

  .page-cockfighting__feature-item,
  .page-cockfighting__step-card,
  .page-cockfighting__bet-type-card,
  .page-cockfighting__promo-card {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  /* HERO Section */
  .page-cockfighting__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    padding-bottom: 40px;
  }

  .page-cockfighting__hero-image {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important;
    position: relative;
    height: 300px; /* Adjust height for visibility */
  }

  .page-cockfighting__hero-image-wrapper {
    position: relative;
    height: 300px;
  }

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

  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: 1rem;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-cockfighting__hero-cta-buttons,
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-tertiary,
  .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;
  }

  /* General Content/Article */
  .page-cockfighting__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

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

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

  .page-cockfighting__text-block {
    font-size: 16px;
    text-align: left;
    padding: 0 5px; /* Slight padding for text blocks */
  }

  /* Steps Grid */
  .page-cockfighting__steps-grid,
  .page-cockfighting__bet-types-grid,
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }

  .page-cockfighting__step-card,
  .page-cockfighting__bet-type-card,
  .page-cockfighting__promo-card {
    padding: 20px;
  }

  .page-cockfighting__step-title,
  .page-cockfighting__bet-type-title,
  .page-cockfighting__promo-title {
    font-size: 20px;
  }

  .page-cockfighting__step-description,
  .page-cockfighting__bet-type-description,
  .page-cockfighting__promo-description {
    font-size: 15px;
  }

  /* Feature List */
  .page-cockfighting__feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__feature-item {
    padding: 20px;
  }

  .page-cockfighting__feature-title {
    font-size: 20px;
  }

  .page-cockfighting__feature-description {
    font-size: 15px;
  }

  /* Article Figures */
  .page-cockfighting__article-figure {
    margin: 30px auto;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 10px;
  }

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

  .page-cockfighting__figcaption {
    font-size: 13px;
  }

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