.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #FFFFFF; /* Default background */
  line-height: 1.6;
}

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

.page-cockfighting__dark-section {
  background-color: #017439; /* Main brand color */
  color: #FFFFFF; /* White text for dark backgrounds */
  padding: 80px 0;
}

.page-cockfighting__light-bg {
  background-color: #FFFFFF; /* Auxiliary brand color / White background */
  color: #333333;
  padding: 80px 0;
}

.page-cockfighting__section-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from parent section */
}

.page-cockfighting__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__list-highlight {
  color: #017439;
  font-weight: bold;
}

/* Hero Section */
.page-cockfighting__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 60px; /* Adjust as needed */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text contrast */
}

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

.page-cockfighting__hero-title {
  font-size: 56px;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 22px;
  color: #FFFFFF;
  margin-bottom: 40px;
}

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

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

.page-cockfighting__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-cockfighting__btn-primary:hover {
  background-color: #e02020;
  border-color: #e02020;
  transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #017439;
  transform: translateY(-2px);
}

/* Video Container */
.page-cockfighting__video-container {
  margin: 40px auto;
  max-width: 800px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.page-cockfighting__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

/* Features Grid */
.page-cockfighting__features-grid,
.page-cockfighting__types-grid,
.page-cockfighting__steps-grid,
.page-cockfighting__promos-grid,
.page-cockfighting__support-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-cockfighting__feature-card,
.page-cockfighting__type-card,
.page-cockfighting__step-card,
.page-cockfighting__promo-card,
.page-cockfighting__channel-card {
  background-color: #FFFFFF;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-cockfighting__feature-card:hover,
.page-cockfighting__type-card:hover,
.page-cockfighting__step-card:hover,
.page-cockfighting__promo-card:hover,
.page-cockfighting__channel-card:hover {
  transform: translateY(-10px);
}

.page-cockfighting__feature-icon {
  width: 100%;
  height: auto;
  max-width: 150px; /* Example size, adjust as needed */
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__feature-title,
.page-cockfighting__type-title,
.page-cockfighting__step-title,
.page-cockfighting__promo-title,
.page-cockfighting__channel-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439;
}

.page-cockfighting__feature-description,
.page-cockfighting__type-description,
.page-cockfighting__step-description,
.page-cockfighting__promo-description,
.page-cockfighting__channel-description {
  font-size: 16px;
  line-height: 1.5;
  flex-grow: 1;
}

.page-cockfighting__callout-text {
  font-size: 20px;
  font-style: italic;
  text-align: center;
  margin-top: 40px;
  color: #017439;
}

/* Security Section */
.page-cockfighting__security-content,
.page-cockfighting__mobile-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-cockfighting__security-image,
.page-cockfighting__mobile-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__security-text,
.page-cockfighting__mobile-text {
  flex: 1;
  text-align: left;
}

.page-cockfighting__security-list,
.page-cockfighting__mobile-advantages {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-cockfighting__security-list li,
.page-cockfighting__mobile-advantages li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 18px;
}

.page-cockfighting__security-list li::before,
.page-cockfighting__mobile-advantages li::before {
  content: '✔';
  color: #017439;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Promotions Section */
.page-cockfighting__promo-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-cockfighting__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 20px;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  transform: rotate(0deg); /* '−' is already rotated, so no additional rotation */
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

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

.page-cockfighting__faq-answer p {
  margin-bottom: 0;
  font-size: 16px;
}

/* Call to Action Bottom Section */
.page-cockfighting__cta-bottom-section {
  text-align: center;
  padding-bottom: 80px;
}

/* Button Group (for sections with multiple buttons) */
.page-cockfighting__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 48px;
  }
  .page-cockfighting__hero-description {
    font-size: 20px;
  }
  .page-cockfighting__section-title {
    font-size: 32px;
  }
  .page-cockfighting__security-content,
  .page-cockfighting__mobile-content {
    flex-direction: column;
  }
  .page-cockfighting__security-image,
  .page-cockfighting__mobile-image {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-cockfighting__hero-title {
    font-size: 36px;
  }
  .page-cockfighting__hero-description {
    font-size: 18px;
  }
  .page-cockfighting__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 18px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-cockfighting__section-title {
    font-size: 28px;
  }
  .page-cockfighting__text-block,
  .page-cockfighting__feature-description,
  .page-cockfighting__type-description,
  .page-cockfighting__step-description,
  .page-cockfighting__promo-description,
  .page-cockfighting__channel-description,
  .page-cockfighting__security-list li,
  .page-cockfighting__mobile-advantages li,
  .page-cockfighting__faq-answer p {
    font-size: 16px;
  }
  .page-cockfighting__dark-section,
  .page-cockfighting__light-bg {
    padding: 60px 0;
  }
  .page-cockfighting__features-grid,
  .page-cockfighting__types-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__promos-grid,
  .page-cockfighting__support-channels {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__security-image,
  .page-cockfighting__mobile-image {
    max-width: 100% !important;
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__feature-icon,
  .page-cockfighting__promo-image {
    max-width: 100% !important;
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting img,
  .page-cockfighting video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__container,
  .page-cockfighting__video-container,
  .page-cockfighting__hero-buttons,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__button-group {
    flex-direction: column;
  }
  .page-cockfighting__video-container {
    padding: 0;
  }
  .page-cockfighting__faq-question {
    font-size: 18px;
    padding: 15px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 15px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px;
  }
}