/* style/cockfighting.css */
.page-cockfighting {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-cockfighting__hero-content {
  max-width: 900px;
  margin-top: 30px;
  padding: 0 20px;
}

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

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

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 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-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-primary:hover {
  background-color: #1e87b6;
  border-color: #1e87b6;
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #1e87b6;
  border-color: #1e87b6;
}

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

.page-cockfighting__section {
  padding: 60px 0;
}

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

.page-cockfighting__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

.page-cockfighting__introduction .page-cockfighting__section-title,
.page-cockfighting__rules .page-cockfighting__section-title,
.page-cockfighting__registration .page-cockfighting__section-title,
.page-cockfighting__support .page-cockfighting__section-title,
.page-cockfighting__faq .page-cockfighting__section-title {
  color: #26A9E0;
}

.page-cockfighting__bet-types .page-cockfighting__section-title,
.page-cockfighting__tips .page-cockfighting__section-title,
.page-cockfighting__promotions .page-cockfighting__section-title {
  color: #ffffff;
}

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

.page-cockfighting__content-grid:nth-child(even) {
  flex-direction: row-reverse;
}

.page-cockfighting__text-block,
.page-cockfighting__image-block {
  flex: 1 1 45%;
  min-width: 300px;
}

.page-cockfighting__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

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

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-cockfighting__list-item {
  margin-bottom: 20px;
  position: relative;
  padding-left: 30px;
}

.page-cockfighting__list-item::before {
  content: '✔';
  color: #26A9E0;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-cockfighting__list-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.page-cockfighting__numbered-list {
  list-style: decimal;
  padding-left: 20px;
  margin: 0;
}

.page-cockfighting__numbered-list .page-cockfighting__list-item {
  padding-left: 0;
}

.page-cockfighting__numbered-list .page-cockfighting__list-item::before {
  content: none;
}

/* Color themes */
.page-cockfighting__dark-bg {
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-cockfighting__dark-bg p,
.page-cockfighting__dark-bg .page-cockfighting__list-title {
  color: #ffffff;
}

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

.page-cockfighting__light-bg p,
.page-cockfighting__light-bg .page-cockfighting__list-title {
  color: #333333;
}

/* FAQ styles */
.page-cockfighting__faq-list {
  margin-top: 30px;
}

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

.page-cockfighting__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1rem;
  color: #ffffff;
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: #26A9E0;
}

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

.page-cockfighting__faq-answer {
  padding: 15px 25px 20px;
  background-color: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #f0f0f0;
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-cockfighting__content-grid {
    flex-direction: column;
  }
  .page-cockfighting__content-grid:nth-child(even) {
    flex-direction: column;
  }
  .page-cockfighting__text-block,
  .page-cockfighting__image-block {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  .page-cockfighting__hero-description {
    font-size: 1rem;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 15px;
  }
  .page-cockfighting__section {
    padding: 40px 0;
  }
  .page-cockfighting__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-cockfighting__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-cockfighting__list-title {
    font-size: 1.1rem;
  }
  .page-cockfighting__faq-item summary {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-cockfighting__faq-answer {
    padding: 10px 20px 15px;
  }

  /* Mobile image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}