.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color); /* Defaults to #F3F8FF for dark body background */
  background-color: transparent; /* Body background is handled by shared.css var(--deep-navy-color) */
}

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

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background: linear-gradient(180deg, #113B7A 0%, #08162B 100%); /* Deep Navy to slightly darker */
  color: var(--text-main-color);
  text-align: center;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-cockfighting__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--gold-color);
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-cockfighting__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-secondary-color);
}

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

.page-cockfighting__cta-buttons--center {
  margin-top: 30px;
}

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

.page-cockfighting__btn-primary {
  background: var(--button-gradient-color);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(43, 115, 246, 0.6);
}

.page-cockfighting__btn-secondary {
  background: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.page-cockfighting__btn-secondary:hover {
  transform: translateY(-3px);
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.page-cockfighting__btn-link {
  background: transparent;
  color: var(--gold-color);
  border: 1px solid var(--gold-color);
  padding: 10px 20px;
  font-size: 0.9rem;
  margin-top: 15px;
}

.page-cockfighting__btn-link:hover {
  background: var(--gold-color);
  color: var(--deep-navy-color);
}

.page-cockfighting__section {
  padding: 60px 0;
  background-color: var(--deep-navy-color);
  color: var(--text-main-color);
}

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

.page-cockfighting__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--gold-color);
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-cockfighting__text-block {
  font-size: 1.05rem;
  margin-bottom: 30px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary-color);
}

.page-cockfighting__card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: var(--text-main-color);
}

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

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

.page-cockfighting__feature-item {
  text-align: center;
}

.page-cockfighting__feature-image,
.page-cockfighting__card-image,
.page-cockfighting__promo-image,
.page-cockfighting__security-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  max-width: 100%; /* Ensure images are responsive */
}

.page-cockfighting__feature-title,
.page-cockfighting__card-title,
.page-cockfighting__promo-title,
.page-cockfighting__security-title,
.page-cockfighting__feature-box-title,
.page-cockfighting__step-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--gold-color);
}

.page-cockfighting__feature-description,
.page-cockfighting__card-description,
.page-cockfighting__promo-description,
.page-cockfighting__security-description,
.page-cockfighting__feature-box-description,
.page-cockfighting__step-description {
  font-size: 1rem;
  color: var(--text-secondary-color);
  flex-grow: 1;
}

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

.page-cockfighting__step-item {
  text-align: center;
  padding-bottom: 20px;
}

.page-cockfighting__step-number {
  font-size: 3rem;
  font-weight: bold;
  color: var(--glow-color);
  margin-bottom: 15px;
  background: -webkit-linear-gradient(45deg, var(--glow-color), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.page-cockfighting__promo-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__promo-card .page-cockfighting__btn-primary {
  margin-top: auto;
  width: fit-content;
}

.page-cockfighting__feature-box {
  text-align: center;
}

.page-cockfighting__feature-box-title {
  font-size: 1.4rem;
  color: var(--glow-color);
}

/* FAQ Styles */
.page-cockfighting__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

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

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

.page-cockfighting__faq-item summary:hover {
  background-color: var(--secondary-color);
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold-color);
}

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  background-color: var(--card-bg-color);
  color: var(--text-secondary-color);
  font-size: 1rem;
  line-height: 1.6;
  border-top: 1px solid var(--divider-color);
}

.page-cockfighting__faq-answer p {
  margin: 0;
  text-align: left;
}

.page-cockfighting__conclusion {
  text-align: center;
  padding-bottom: 80px;
}

/* Color Variables */
:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --button-gradient-color: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg-color: #10233F;
  --text-main-color: #F3F8FF;
  --text-secondary-color: #AFC4E8;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy-color: #08162B; /* This is the body background */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

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

  .page-cockfighting__text-block {
    font-size: 1rem;
  }

  .page-cockfighting__feature-title,
  .page-cockfighting__card-title,
  .page-cockfighting__promo-title,
  .page-cockfighting__security-title,
  .page-cockfighting__feature-box-title,
  .page-cockfighting__step-title {
    font-size: 1.4rem;
  }

  .page-cockfighting__feature-description,
  .page-cockfighting__card-description,
  .page-cockfighting__promo-description,
  .page-cockfighting__security-description,
  .page-cockfighting__feature-box-description,
  .page-cockfighting__step-description {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-cockfighting__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-cockfighting__description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-link {
    padding: 12px 20px;
    font-size: 0.95rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-cockfighting__text-block {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .page-cockfighting__feature-grid,
  .page-cockfighting__grid-3-cols,
  .page-cockfighting__grid-2-cols,
  .page-cockfighting__steps-grid,
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .page-cockfighting__card {
    padding: 20px;
  }

  .page-cockfighting__feature-image,
  .page-cockfighting__card-image,
  .page-cockfighting__promo-image,
  .page-cockfighting__security-image {
    height: 200px; /* Min height 200px */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-cockfighting__feature-title,
  .page-cockfighting__card-title,
  .page-cockfighting__promo-title,
  .page-cockfighting__security-title,
  .page-cockfighting__feature-box-title,
  .page-cockfighting__step-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .page-cockfighting__feature-description,
  .page-cockfighting__card-description,
  .page-cockfighting__promo-description,
  .page-cockfighting__security-description,
  .page-cockfighting__feature-box-description,
  .page-cockfighting__step-description {
    font-size: 0.85rem;
  }

  .page-cockfighting__step-number {
    font-size: 2.5rem;
  }

  .page-cockfighting__faq-item summary {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-cockfighting__faq-answer {
    padding: 15px 20px;
    font-size: 0.9rem;
  }

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

  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }
}