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

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, not --header-offset */
  padding-bottom: 40px;
}

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

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Desktop default */
  aspect-ratio: 16/9;
  filter: brightness(0.7);
}

.page-cockfighting__hero-content {
  position: relative;
  text-align: center;
  padding: 20px;
  max-width: 900px;
  margin-top: -150px; /* Overlap with image slightly for visual effect */
  z-index: 1;
}

.page-cockfighting__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #F3C54D; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.1rem;
  color: #FFF1E8;
  margin-bottom: 30px;
}

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

/* General Section Styles */
.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

.page-cockfighting__section-description {
  font-size: 1.05rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #FFF1E8;
}

/* About Section */
.page-cockfighting__about-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background */
  color: #FFF1E8;
}

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

.page-cockfighting__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-cockfighting__text-block {
  flex: 1;
  padding: 20px;
  background-color: #2A1212; /* Card BG */
  border-radius: 8px;
  border: 1px solid #6A1E1E; /* Border */
}

.page-cockfighting__text-block p {
  margin-bottom: 15px;
  font-size: 1rem;
  color: #FFF1E8;
}

.page-cockfighting__image-block {
  flex: 1;
  text-align: center;
}

.page-cockfighting__responsive-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid #6A1E1E; /* Border */
}

/* Types Section */
.page-cockfighting__types-section {
  padding: 60px 0;
  background-color: #0d0808; /* Slightly darker for contrast */
  color: #FFF1E8;
}

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

.page-cockfighting__card {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-cockfighting__card-text {
  font-size: 0.95rem;
  color: #FFF1E8;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-cockfighting__btn-card {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Push to bottom */
}

.page-cockfighting__btn-card:hover {
  opacity: 0.9;
}

/* How To Play Section */
.page-cockfighting__how-to-play-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background */
  color: #FFF1E8;
}

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

.page-cockfighting__step-card {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__step-icon {
  width: 60px;
  height: 60px;
  background-color: #C61F1F; /* Main Color */
  color: #FFF1E8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  border: 2px solid #F3C54D; /* Gold */
}

.page-cockfighting__step-title {
  font-size: 1.3rem;
  color: #F3C54D; /* Gold */
  margin-bottom: 10px;
}

.page-cockfighting__step-text {
  font-size: 0.95rem;
  color: #FFF1E8;
}

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

/* Promotions Section */
.page-cockfighting__promotions-section {
  padding: 60px 0;
  background-color: #0d0808; /* Slightly darker */
  color: #FFF1E8;
}

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

.page-cockfighting__promotion-card {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-cockfighting__promotion-title {
  font-size: 1.4rem;
  color: #F3C54D; /* Gold */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-cockfighting__promotion-text {
  font-size: 0.95rem;
  color: #FFF1E8;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-cockfighting__btn-promotion {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.page-cockfighting__btn-promotion:hover {
  opacity: 0.9;
}

/* Security Section */
.page-cockfighting__security-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background */
  color: #FFF1E8;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 60px 0;
  background-color: #0d0808; /* Slightly darker */
  color: #FFF1E8;
}

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

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
}
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;
  color: #F3C54D; /* Gold */
}
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: #3a1a1a;
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFF1E8; /* Text Main */
  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: #140C0C; /* Background */
  border-radius: 0 0 8px 8px;
  color: #FFF1E8;
}

/* CTA Bottom Section */
.page-cockfighting__cta-bottom {
  padding: 60px 0;
  text-align: center;
  background-color: #140C0C; /* Background */
  color: #FFF1E8;
}

.page-cockfighting__cta-content {
  max-width: 800px;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #ffffff;
  border: 2px solid transparent;
}

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

.page-cockfighting__btn-secondary {
  background: #2A1212; /* Card BG */
  color: #F3C54D; /* Gold */
  border: 2px solid #F3C54D; /* Gold */
}

.page-cockfighting__btn-secondary:hover {
  background: #F3C54D;
  color: #2A1212; /* Card BG */
  transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    margin-top: -100px;
  }
  .page-cockfighting__content-grid {
    flex-direction: column;
  }
  .page-cockfighting__content-grid--reverse {
    flex-direction: column;
  }
  .page-cockfighting__text-block {
    padding: 25px;
  }
  .page-cockfighting__cards-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__promotions-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 849px) {
  .page-cockfighting__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }
}

@media (max-width: 768px) {
  /* General content padding and width */
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__about-section,
  .page-cockfighting__types-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__security-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-bottom {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* HERO Section */
  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 20px;
  }
  .page-cockfighting__hero-content {
    margin-top: -80px; /* Adjust overlap */
    padding: 15px;
  }
  .page-cockfighting__hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem); /* Adjust font size for mobile */
    margin-bottom: 15px;
  }
  .page-cockfighting__hero-description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }
  .page-cockfighting__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Section Titles & Descriptions */
  .page-cockfighting__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    margin-bottom: 20px;
    padding-top: 30px;
  }
  .page-cockfighting__section-description {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  /* General Images & Containers */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Content Grid */
  .page-cockfighting__content-grid {
    flex-direction: column;
    gap: 25px;
  }
  .page-cockfighting__content-grid--reverse {
    flex-direction: column;
  }
  .page-cockfighting__text-block {
    padding: 15px;
  }
  .page-cockfighting__text-block p {
    font-size: 0.9rem;
  }

  /* Cards Grid (Types Section, Promotions Section) */
  .page-cockfighting__cards-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__promotions-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }
  .page-cockfighting__card-image,
  .page-cockfighting__promotion-image {
    height: 180px;
  }
  .page-cockfighting__card-title,
  .page-cockfighting__promotion-title {
    font-size: 1.2rem;
  }
  .page-cockfighting__card-text,
  .page-cockfighting__promotion-text {
    font-size: 0.85rem;
  }

  /* Steps Section */
  .page-cockfighting__step-card {
    padding: 25px 15px;
  }
  .page-cockfighting__step-icon {
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  .page-cockfighting__step-title {
    font-size: 1.15rem;
  }
  .page-cockfighting__step-text {
    font-size: 0.85rem;
  }

  /* Buttons */
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-card,
  .page-cockfighting__btn-promotion,
  .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: 12px 15px !important;
    font-size: 0.9rem;
  }

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

  /* FAQ Section */
  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;
  }
}