.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default light text for dark body background */
  background-color: #1a1a2e; /* Inherited from body via shared.css */
}

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

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  padding-bottom: 50px;
  box-sizing: border-box;
}

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

.page-cockfighting__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

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

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  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;
}

.page-cockfighting__btn-primary {
  background-color: #FFD700;
  color: #0A1931;
  border: 2px solid #FFD700;
}

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

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

.page-cockfighting__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A1931;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 50px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

.page-cockfighting__dark-bg {
  background-color: #0A1931;
  color: #ffffff;
  padding: 60px 0;
}

.page-cockfighting__introduction-section .page-cockfighting__text-block,
.page-cockfighting__betting-types-section .page-cockfighting__text-block,
.page-cockfighting__advantages-section .page-cockfighting__text-block,
.page-cockfighting__strategy-section .page-cockfighting__text-block,
.page-cockfighting__cta-section .page-cockfighting__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__image-row {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.page-cockfighting__betting-types-section {
  background-color: #1a1a2e;
  padding: 60px 0;
}

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__list-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-left: 5px solid #FFD700;
}

.page-cockfighting__list-item-title {
  color: #FFD700;
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-cockfighting__list-item p {
  color: #f0f0f0;
  font-size: 1em;
}

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

.page-cockfighting__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 25px;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-right: 5px solid #FFD700;
}

.page-cockfighting__step-title {
  color: #FFD700;
  font-size: 1.6em;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-cockfighting__step-item p {
  color: #f0f0f0;
  font-size: 1.05em;
}

.page-cockfighting__advantages-section {
  background-color: #1a1a2e;
  padding: 60px 0;
}

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

.page-cockfighting__advantage-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border-bottom: 4px solid #FFD700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  max-width: 100%;
}

.page-cockfighting__card-title {
  color: #FFD700;
  font-size: 1.4em;
  margin-bottom: 15px;
  flex-grow: 0;
}

.page-cockfighting__advantage-card p {
  color: #f0f0f0;
  font-size: 1em;
  flex-grow: 1;
}

.page-cockfighting__strategy-section {
  padding: 60px 0;
}

.page-cockfighting__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__strategy-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-left: 5px solid #FFD700;
}

.page-cockfighting__strategy-title {
  color: #FFD700;
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-cockfighting__strategy-item p {
  color: #f0f0f0;
  font-size: 1em;
}

.page-cockfighting__faq-section {
  background-color: #1a1a2e;
  padding: 60px 0;
}

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

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #0A1931;
  color: #FFD700;
  font-size: 1.2em;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__faq-question:hover {
  background-color: #1c2a42;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  font-size: 1em;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 20px 25px;
}

.page-cockfighting__cta-section {
  padding: 60px 0 80px 0;
  text-align: center;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 3em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.2em;
  }
  .page-cockfighting__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-cockfighting__hero-title {
    font-size: 2.2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
    padding-top: 30px;
    margin-bottom: 30px;
  }
  .page-cockfighting__text-block {
    font-size: 0.95em;
    padding: 0 15px;
  }
  .page-cockfighting__image-row {
    flex-direction: column;
    padding: 0 15px;
  }
  .page-cockfighting__image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__list-item,
  .page-cockfighting__step-item,
  .page-cockfighting__advantage-card,
  .page-cockfighting__strategy-item,
  .page-cockfighting__faq-item {
    margin-left: 15px;
    margin-right: 15px;
    padding: 20px;
  }
  .page-cockfighting__list-item-title,
  .page-cockfighting__step-title,
  .page-cockfighting__card-title,
  .page-cockfighting__strategy-title {
    font-size: 1.3em;
  }
  .page-cockfighting__card-image {
    height: 180px; /* Slightly smaller on mobile */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px 20px;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !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;
  }
  .page-cockfighting__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-cockfighting__hero-content {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-title {
    font-size: 1.6em;
  }
  .page-cockfighting__card-title {
    font-size: 1.2em;
  }
  .page-cockfighting__faq-question {
    font-size: 1em;
  }
}