.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Main text color from custom palette */
  background-color: #140C0C; /* Background color from custom palette */
}

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

.page-cockfighting__hero-section {
  padding-top: 10px; /* Small top padding as per instruction */
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  position: relative;
  text-align: center;
  background-color: #0d0d0d;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
}

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

.page-cockfighting__hero-content {
  padding: 40px 20px;
  position: relative; /* Ensure content is above any potential background elements */
  z-index: 2;
  background-color: #140C0C; /* Ensure text background is dark for light text */
}

.page-cockfighting__main-title {
  font-size: 2.8em;
  font-weight: 700;
  color: #F3C54D; /* Gold from custom palette */
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__hero-description {
  font-size: 1.1em;
  color: #FFF1E8;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__cta-buttons--centered {
  margin-top: 40px;
  margin-bottom: 20px;
}

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

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient from custom palette */
  color: #FFF1E8; /* Text Main from custom palette */
  border: none;
}

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

.page-cockfighting__btn-secondary {
  background: #2A1212; /* Card BG from custom palette */
  color: #F3C54D; /* Gold from custom palette */
  border: 2px solid #6A1E1E; /* Border from custom palette */
}

.page-cockfighting__btn-secondary:hover {
  background: #140C0C; /* Background from custom palette */
  color: #FFB04A;
  transform: translateY(-2px);
}

.page-cockfighting__section-title {
  font-size: 2.2em;
  color: #F3C54D; /* Gold from custom palette */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
  font-weight: 700;
}

.page-cockfighting__paragraph {
  font-size: 1em;
  color: #FFF1E8; /* Text Main from custom palette */
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__dark-section {
  background-color: #2A1212; /* Card BG from custom palette */
  padding: 60px 0;
}

.page-cockfighting__introduction-section {
  padding-bottom: 60px;
}

.page-cockfighting__bet-types-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background from custom palette */
}

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

.page-cockfighting__bet-card,
.page-cockfighting__promo-card {
  background-color: #2A1212; /* Card BG from custom palette */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  display: block;
}

.page-cockfighting__card-title {
  font-size: 1.4em;
  color: #F3C54D; /* Gold from custom palette */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-cockfighting__card-text {
  font-size: 0.95em;
  color: #FFF1E8; /* Text Main from custom palette */
  padding: 0 15px;
  flex-grow: 1;
}

.page-cockfighting__guide-section {
  padding-bottom: 60px;
}

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

.page-cockfighting__guide-list-item {
  background-color: #1F0E0E;
  border: 1px solid #6A1E1E;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
}

.page-cockfighting__list-item-title {
  font-size: 1.3em;
  color: #FFB04A;
  margin-bottom: 10px;
}

.page-cockfighting__list-item-text {
  font-size: 1em;
  color: #FFF1E8;
}

.page-cockfighting__promotions-section {
  padding: 60px 0;
  background-color: #140C0C;
}

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

.page-cockfighting__tips-section {
  padding-bottom: 60px;
}

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

.page-cockfighting__tips-list-item {
  background-color: #1F0E0E;
  border: 1px solid #6A1E1E;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
}

.page-cockfighting__text-link {
  color: #FFB04A;
  text-decoration: none;
}

.page-cockfighting__text-link:hover {
  text-decoration: underline;
}

.page-cockfighting__gallery-section {
  padding: 60px 0;
  background-color: #140C0C;
}

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

.page-cockfighting__gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: block;
}

.page-cockfighting__faq-section {
  padding-bottom: 60px;
}

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

.page-cockfighting__faq-item {
  background-color: #1F0E0E;
  border: 1px solid #6A1E1E;
  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: 1.1em;
  font-weight: bold;
  color: #F3C54D; /* Gold from custom palette */
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

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

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

.page-cockfighting__faq-answer {
  padding: 0 25px 18px;
  font-size: 0.95em;
  color: #FFF1E8; /* Text Main from custom palette */
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  content: '−';
}

.page-cockfighting__conclusion-section {
  padding: 60px 0;
  background-color: #140C0C;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 2.5em;
  }

  .page-cockfighting__section-title {
    font-size: 2em;
  }

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

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 80%;
    max-width: 350px;
  }

  .page-cockfighting__grid-container,
  .page-cockfighting__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-cockfighting__gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

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

  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
  }

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

  .page-cockfighting__main-title {
    font-size: 1.8em !important;
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-cockfighting__section-title {
    font-size: 1.7em !important;
    padding-top: 30px;
    margin-bottom: 25px;
  }

  /* Universal image adaptation for content area */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Content area containers for mobile */
  .page-cockfighting__container,
  .page-cockfighting__introduction-section,
  .page-cockfighting__bet-types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__gallery-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button & Button Container Mobile Adaptations */
  .page-cockfighting__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

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

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

  .page-cockfighting__bet-card,
  .page-cockfighting__promo-card {
    padding-bottom: 15px;
  }

  .page-cockfighting__card-image {
    height: 180px;
  }

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

  .page-cockfighting__guide-list-item,
  .page-cockfighting__tips-list-item {
    padding: 20px;
  }

  .page-cockfighting__list-item-title {
    font-size: 1.1em;
  }

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

  .page-cockfighting__gallery-image {
    height: 220px;
  }

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

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