.page-cockfighting-rules-and-betting {
  color: #333333; /* Dark text for light body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-cockfighting-rules-and-betting__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-cockfighting-rules-and-betting__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  color: #ffffff;
  text-align: center;
}

.page-cockfighting-rules-and-betting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-cockfighting-rules-and-betting__hero-content {
  position: relative;
  z-index: 1;
  padding: 100px 20px;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent dark overlay for text */
  border-radius: 10px;
}

.page-cockfighting-rules-and-betting__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Main brand color */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting-rules-and-betting__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-cockfighting-rules-and-betting__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Main brand color */
  color: #000080; /* Auxiliary brand color for text */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-cockfighting-rules-and-betting__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-cockfighting-rules-and-betting__section-title {
  font-size: 2.5em;
  color: #000080; /* Auxiliary brand color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-cockfighting-rules-and-betting__section-title::after {
  content: '';
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Main brand color */
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
}

.page-cockfighting-rules-and-betting__introduction-section,
.page-cockfighting-rules-and-betting__rules-overview-section,
.page-cockfighting-rules-and-betting__rooster-analysis-section,
.page-cockfighting-rules-and-betting__betting-types-section,
.page-cockfighting-rules-and-betting__betting-guide-section,
.page-cockfighting-rules-and-betting__strategy-section,
.page-cockfighting-rules-and-betting__faq-section,
.page-cockfighting-rules-and-betting__cta-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  margin-bottom: 20px;
}

.page-cockfighting-rules-and-betting__introduction-section {
  background-color: #ffffff;
}

.page-cockfighting-rules-and-betting__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-cockfighting-rules-and-betting__grid--two-columns {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.page-cockfighting-rules-and-betting__rule-card,
.page-cockfighting-rules-and-betting__bet-card,
.page-cockfighting-rules-and-betting__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting-rules-and-betting__rule-card:hover,
.page-cockfighting-rules-and-betting__bet-card:hover,
.page-cockfighting-rules-and-betting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-cockfighting-rules-and-betting__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting-rules-and-betting__card-title {
  font-size: 1.6em;
  color: #000080; /* Auxiliary brand color */
  margin-bottom: 15px;
}

.page-cockfighting-rules-and-betting__card-text {
  font-size: 1em;
  color: #555555;
}

.page-cockfighting-rules-and-betting__button {
  display: inline-block;
  background-color: #000080; /* Auxiliary brand color */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-cockfighting-rules-and-betting__button:hover {
  background-color: #000066;
  transform: translateY(-2px);
}

.page-cockfighting-rules-and-betting__button--center {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 350px;
}

.page-cockfighting-rules-and-betting__list {
  list-style: disc inside;
  text-align: left;
  margin-top: 15px;
  color: #555555;
}

.page-cockfighting-rules-and-betting__list li {
  margin-bottom: 10px;
}

.page-cockfighting-rules-and-betting__numbered-list {
  list-style: decimal inside;
  text-align: left;
  margin-top: 20px;
  padding-left: 20px;
  color: #333333;
}

.page-cockfighting-rules-and-betting__numbered-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-cockfighting-rules-and-betting__numbered-list li strong {
  color: #000080;
}

.page-cockfighting-rules-and-betting__numbered-list li a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting-rules-and-betting__numbered-list li a:hover {
  text-decoration: underline;
}

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

.page-cockfighting-rules-and-betting__strategy-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 20px;
  text-align: left;
}

.page-cockfighting-rules-and-betting__item-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-cockfighting-rules-and-betting__item-title {
  font-size: 1.4em;
  color: #000080;
  margin-bottom: 10px;
}

.page-cockfighting-rules-and-betting__item-text {
  font-size: 0.95em;
  color: #666666;
}

.page-cockfighting-rules-and-betting__faq-item {
  background-color: #ffffff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-cockfighting-rules-and-betting__faq-question {
  font-size: 1.3em;
  color: #000080;
  margin-bottom: 10px;
}

.page-cockfighting-rules-and-betting__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-cockfighting-rules-and-betting__faq-answer a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting-rules-and-betting__faq-answer a:hover {
  text-decoration: underline;
}

.page-cockfighting-rules-and-betting__cta-section {
  background-color: #000080; /* Auxiliary brand color */
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.page-cockfighting-rules-and-betting__cta-section .page-cockfighting-rules-and-betting__section-title {
  color: #FFD700; /* Main brand color */
}

.page-cockfighting-rules-and-betting__cta-section .page-cockfighting-rules-and-betting__section-title::after {
  background-color: #ffffff;
}

.page-cockfighting-rules-and-betting__cta-section .page-cockfighting-rules-and-betting__text-content {
  color: #f0f0f0;
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-cockfighting-rules-and-betting__cta-section .page-cockfighting-rules-and-betting__text-content a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting-rules-and-betting__cta-section .page-cockfighting-rules-and-betting__text-content a:hover {
  text-decoration: underline;
}

.page-cockfighting-rules-and-betting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-cockfighting-rules-and-betting__cta-buttons .page-cockfighting-rules-and-betting__button {
  background-color: #FFD700; /* Main brand color */
  color: #000080; /* Auxiliary brand color */
  padding: 18px 35px;
  font-size: 1.2em;
  border-radius: 10px;
}

.page-cockfighting-rules-and-betting__cta-buttons .page-cockfighting-rules-and-betting__button:hover {
  background-color: #e6c200;
}

.page-cockfighting-rules-and-betting__cta-buttons .page-cockfighting-rules-and-betting__button--secondary {
  background-color: transparent;
  border: 2px solid #FFD700; /* Main brand color */
  color: #FFD700;
}

.page-cockfighting-rules-and-betting__cta-buttons .page-cockfighting-rules-and-betting__button--secondary:hover {
  background-color: #FFD700;
  color: #000080;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting-rules-and-betting__hero-title {
    font-size: 3em;
  }
  .page-cockfighting-rules-and-betting__hero-description {
    font-size: 1.2em;
  }
  .page-cockfighting-rules-and-betting__section-title {
    font-size: 2em;
  }
  .page-cockfighting-rules-and-betting__grid--two-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-cockfighting-rules-and-betting__hero-content {
    padding: 80px 15px;
  }
  .page-cockfighting-rules-and-betting__hero-title {
    font-size: 2.5em;
  }
  .page-cockfighting-rules-and-betting__hero-description {
    font-size: 1.1em;
  }
  .page-cockfighting-rules-and-betting__grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting-rules-and-betting__strategy-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting-rules-and-betting__container {
    padding: 0 15px;
  }
  /* Ensure images do not overflow on mobile */
  .page-cockfighting-rules-and-betting img {
    max-width: 100%;
    height: auto;
  }
  .page-cockfighting-rules-and-betting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting-rules-and-betting__button--center {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-cockfighting-rules-and-betting__hero-title {
    font-size: 2em;
  }
  .page-cockfighting-rules-and-betting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting-rules-and-betting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting-rules-and-betting__hero-button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-cockfighting-rules-and-betting__cta-buttons .page-cockfighting-rules-and-betting__button {
    padding: 15px 25px;
    font-size: 1.1em;
  }
}