:root {
  --primary-color: #E53935;
  --secondary-color: #FF5A4F;
  --text-main-color: #333333;
  --card-bg-color: #FFFFFF;
  --background-color: #F5F7FA;
  --border-color: #E0E0E0;
}

.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color);
  background: var(--background-color);
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, header offset handled by body */
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%); /* Background gradient for the section */
}

.page-cockfighting__hero-container {
  position: relative;
  max-width: 1200px;
  width: 100%; /* Ensure full width on desktop if flex */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-cockfighting__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px; /* Added for aesthetic */
  overflow: hidden; /* Ensure image border-radius applies */
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px; /* Constrain content width */
  color: #ffffff; /* White text for dark background */
}

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

.page-cockfighting__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%); /* Button gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px; /* More rounded button */
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%; /* Ensure button adapts */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-cockfighting__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-cockfighting__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-cockfighting__section-title--white {
  color: #ffffff;
}

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

.page-cockfighting__text-block {
  margin-bottom: 20px;
  font-size: 1.05em;
  line-height: 1.7;
  color: var(--text-main-color);
}

.page-cockfighting__text-block--white {
  color: #ffffff;
}

.page-cockfighting__light-bg {
  background-color: var(--background-color);
}

.page-cockfighting__dark-section {
  background: linear-gradient(180deg, var(--primary-color) 0%, #B71C1C 100%); /* Darker gradient for dark sections */
  color: #ffffff;
}

/* Grid Layouts */
.page-cockfighting__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__content-grid--reverse {
  grid-template-columns: 1fr 1fr; /* Default order */
}

.page-cockfighting__image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Minimum size for content images */
  min-height: 200px;
}

/* Card Styling */
.page-cockfighting__card {
  background: var(--card-bg-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main-color);
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-cockfighting__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-cockfighting__card-text {
  font-size: 1em;
  line-height: 1.6;
}

/* Steps Grid */
.page-cockfighting__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-cockfighting__step-card {
  background: var(--card-bg-color);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: left;
  transition: all 0.3s ease;
  color: var(--text-main-color);
  border-top: 5px solid var(--primary-color);
}

.page-cockfighting__step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.page-cockfighting__step-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-cockfighting__step-text {
  font-size: 0.95em;
  line-height: 1.6;
}

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

/* Promotions Section */
.page-cockfighting__promos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-cockfighting__promo-card {
  background: var(--card-bg-color);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  color: var(--text-main-color);
  border: 1px solid var(--border-color);
}

.page-cockfighting__promo-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-cockfighting__promo-text {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 25px;
}

.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 10px 25px;
  background: var(--card-bg-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  border: 2px solid var(--primary-color);
  transition: all 0.3s ease;
  max-width: 100%; /* Ensure button adapts */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-cockfighting__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Security Section */
.page-cockfighting__cta-button--white {
  background: #ffffff;
  color: var(--primary-color);
  border: 2px solid #ffffff;
}

.page-cockfighting__cta-button--white:hover {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main-color);
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
  background: #f0f0f0;
}