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

.page-cockfighting__section {
  padding: 40px 0;
  background-color: #f8f8f8;
}

.page-cockfighting__dark-section {
  background-color: #B71C1C; /* Custom background color */
  color: #FFF5E1; /* Custom text color for dark backgrounds */
}

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

.page-cockfighting__section-title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #C91F17; /* Brand primary color for titles */
}

.page-cockfighting__dark-section .page-cockfighting__section-title {
  color: #FFF5E1; /* Text color for titles on dark backgrounds */
}

.page-cockfighting__section-intro {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column; /* Ensure image is above text */
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Minimal top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #C91F17; /* Primary brand color as fallback */
}

.page-cockfighting__hero-image {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  object-fit: cover;
  display: block;
}

.page-cockfighting__hero-content {
  text-align: center;
  padding: 30px 20px;
  position: relative; /* Ensure content is in normal flow */
  z-index: 1;
  max-width: 900px;
}

.page-cockfighting__main-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: #FFF5E1; /* Text Main for hero title */
  margin-bottom: 20px;
}

.page-cockfighting__description {
  font-size: 18px;
  color: #FFF5E1; /* Text Main for hero description */
  margin-bottom: 30px;
}

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

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

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom button gradient */
  color: #7A0E0E; /* Deep Red for text on gold button */
  border: none;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: #FFF5E1; /* Text Main for secondary button */
  border: 2px solid #F2B544; /* Custom border color */
}

.page-cockfighting__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-cockfighting__btn-link {
  background: #E53935; /* Auxiliary color for smaller links */
  color: #FFF5E1;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  margin-top: 15px;
  border: none;
}
.page-cockfighting__btn-link:hover {
  background: #C91F17;
}

.page-cockfighting__btn-large {
  padding: 18px 40px;
  font-size: 20px;
}

/* Features Grid (Why Choose Us) */
.page-cockfighting__features-grid,
.page-cockfighting__types-grid,
.page-cockfighting__tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.page-cockfighting__feature-card,
.page-cockfighting__type-card,
.page-cockfighting__tip-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.page-cockfighting__dark-section .page-cockfighting__type-card {
  background-color: #D32F2F; /* Card BG for dark section cards */
  color: #FFF5E1; /* Text Main for cards on dark background */
}

.page-cockfighting__feature-image,
.page-cockfighting__type-image,
.page-cockfighting__tip-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__feature-title,
.page-cockfighting__type-title,
.page-cockfighting__tip-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  padding: 0 15px;
  color: #C91F17; /* Primary brand color for card titles */
}

.page-cockfighting__dark-section .page-cockfighting__type-title {
  color: #FFF5E1; /* Text Main for card titles on dark background */
}

.page-cockfighting__feature-text,
.page-cockfighting__type-text,
.page-cockfighting__tip-text {
  font-size: 16px;
  padding: 0 15px;
  flex-grow: 1; /* Make text content fill available space */
}

/* How-to-play Steps */
.page-cockfighting__steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.page-cockfighting__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__step-number {
  width: 60px;
  height: 60px;
  background-color: #E53935; /* Auxiliary color */
  color: #FFF5E1; /* Text Main */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-cockfighting__step-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #C91F17; /* Primary brand color */
}

.page-cockfighting__step-text {
  font-size: 16px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Promotions Section */
.page-cockfighting__promo-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}

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

.page-cockfighting__promo-details {
  width: 50%;
}

.page-cockfighting__promo-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFF5E1; /* Text Main */
}

.page-cockfighting__promo-text {
  font-size: 16px;
  margin-bottom: 20px;
  color: #FFF5E1; /* Text Main */
}

/* FAQ Section */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}