:root {
  --primary-color: #C61F1F;
  --secondary-color: #E53030;
  --button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  --card-bg: #2A1212;
  --page-bg: #140C0C;
  --text-main-color: #FFF1E8;
  --border-color: #6A1E1E;
  --gold-color: #F3C54D;
  --deep-red-color: #7E0D0D;
  --text-dark-contrast: #333333; /* For light backgrounds */
  --text-light-contrast: #ffffff; /* For dark backgrounds */
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color); /* Default text color for dark page background */
  background-color: var(--page-bg); /* Use specified page background color */
  line-height: 1.6;
}

.page-cockfighting a {
  color: var(--gold-color);
  text-decoration: none;
}

.page-cockfighting a:hover {
  text-decoration: underline;
}

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

.page-cockfighting__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.page-cockfighting__section:last-of-type {
  border-bottom: none;
}

.page-cockfighting__dark-section {
  background-color: var(--card-bg);
}

.page-cockfighting__section-title {
  font-size: 36px;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-cockfighting__text-block {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__highlight {
  color: var(--gold-color);
  font-weight: bold;
}

/* HERO Section */
.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 as body handles header offset */
  overflow: hidden;
}

.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;
}

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

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

.page-cockfighting__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 18px;
  color: var(--text-light-contrast);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: var(--text-light-contrast);
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__cta-button--small {
  padding: 12px 30px;
  font-size: 16px;
}

.page-cockfighting__cta-button--alt {
  background: var(--deep-red-color);
  color: var(--text-light-contrast);
}

.page-cockfighting__cta-button--alt:hover {
  background: var(--secondary-color);
}

.page-cockfighting__cta-button--large {
  padding: 18px 50px;
  font-size: 20px;
}

/* Lists */
.page-cockfighting__list,
.page-cockfighting__numbered-list,
.page-cockfighting__promotions-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.page-cockfighting__list-item,
.page-cockfighting__promotions-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__numbered-list .page-cockfighting__list-item {
  counter-increment: list-counter;
  position: relative;
  padding-left: 50px;
}

.page-cockfighting__numbered-list .page-cockfighting__list-item::before {
  content: counter(list-counter);
  position: absolute;
  left: 15px;
  top: 20px;
  background-color: var(--gold-color);
  color: var(--page-bg);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

.page-cockfighting__list-title,
.page-cockfighting__promotions-title {
  font-size: 22px;
  color: var(--gold-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-cockfighting__list-item p,
.page-cockfighting__promotions-item p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main-color);
}

/* Image with content block */
.page-cockfighting__image-content-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.page-cockfighting__image-content-block img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-cockfighting__image-caption {
  font-style: italic;
  color: var(--text-main-color);
  font-size: 14px;
  text-align: center;
}

/* Grid Cards */
.page-cockfighting__grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-cockfighting__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-cockfighting__card-title {
  font-size: 24px;
  color: var(--gold-color);
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-cockfighting__card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main-color);
}

/* Flex Container for Mobile Section */
.page-cockfighting__flex-container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-cockfighting__content-left {
  flex: 1;
}

.page-cockfighting__image-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__image-right img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.page-cockfighting__center-content {
  text-align: center;
  max-width: 800px;
}

/* FAQ Section */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  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: rgba(var(--primary-color), 0.2); /* Lighter hover for dark background */
}

.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--gold-color);
}

.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}

details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 25px 25px;
  background: rgba(var(--card-bg), 0.8);
  border-radius: 0 0 8px 8px;
  font-size: 16px;
  color: var(--text-main-color);
}

.page-cockfighting__faq-answer p {
  margin-top: 0;
  font-size: 16px;
  color: var(--text-main-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__flex-container {
    flex-direction: column;
  }
  .page-cockfighting__content-left, .page-cockfighting__image-right {
    flex: none;
    width: 100%;
  }
  .page-cockfighting__image-right img {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__section {
    padding: 40px 0;
  }

  .page-cockfighting__container {
    padding: 0 15px;
  }

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

  .page-cockfighting__text-block {
    font-size: 15px;
  }

  /* HERO */
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__hero-image img {
    border-radius: 4px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(24px, 6vw, 36px);
  }
  .page-cockfighting__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-cockfighting__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Images responsiveness */
  .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;
  }

  /* Lists */
  .page-cockfighting__list-item,
  .page-cockfighting__promotions-item {
    padding: 20px;
  }
  .page-cockfighting__list-title,
  .page-cockfighting__promotions-title {
    font-size: 20px;
  }
  .page-cockfighting__numbered-list .page-cockfighting__list-item::before {
    top: 15px;
  }

  /* Cards */
  .page-cockfighting__grid-cards {
    gap: 15px;
  }
  .page-cockfighting__card {
    padding: 20px;
  }
  .page-cockfighting__card-title {
    font-size: 20px;
  }

  /* FAQ */
  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    padding: 15px;
  }
  .page-cockfighting__faq-qtext {
    font-size: 16px;
  }
  .page-cockfighting__faq-toggle {
    font-size: 24px;
    margin-left: 10px;
    width: 24px;
  }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 15px 15px;
  }

  /* Button containers mobile */
  .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__cta-buttons {
    display: flex;
    flex-direction: column; /* Ensure vertical stacking on mobile */
  }
}