.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #ffffff;
}

.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: var(--header-offset, 120px);
  overflow: hidden;
}

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

.page-cockfighting__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: -80px; /* Overlap with image for visual effect */
}

.page-cockfighting__hero-title {
  font-size: 48px;
  font-weight: bold;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 20px;
  color: #333333;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #C30808; /* Use custom color for register/login */
  color: #FFFF00; /* Use custom color for register/login font */
  text-decoration: none;
  border-radius: 5px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__cta-button:hover {
  background: #a80707;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__section {
  padding: 80px 20px;
  text-align: center;
}

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

.page-cockfighting__section-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #017439;
}

.page-cockfighting__text-block {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #333333;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__text-block a {
  color: #017439;
  text-decoration: underline;
}

.page-cockfighting__text-block a:hover {
  color: #005f2e;
}

.page-cockfighting__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: #017439;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 600;
  margin-top: 20px;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-cockfighting__btn-primary:hover {
  background: #005f2e;
}

.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: #ffffff;
  color: #017439;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 600;
  margin-top: 20px;
  border: 2px solid #017439;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.page-cockfighting__btn-secondary:hover {
  background: #017439;
  color: #ffffff;
}

.page-cockfighting__highlight {
  color: #C30808;
  font-weight: bold;
}

/* Color contrast specific styles */
.page-cockfighting__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-cockfighting__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-cockfighting__dark-section {
  background-color: #017439;
  color: #ffffff;
}

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

.page-cockfighting__dark-section .page-cockfighting__text-block {
  color: #f0f0f0;
}

.page-cockfighting__dark-section .page-cockfighting__text-block a {
  color: #FFFF00;
}

.page-cockfighting__dark-section .page-cockfighting__text-block a:hover {
  color: #FFFFAA;
}

.page-cockfighting__dark-section .page-cockfighting__highlight {
  color: #FFFF00;
}

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

.page-cockfighting__card {
  background: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.page-cockfighting__card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
}

.page-cockfighting__card-text {
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
}

.page-cockfighting__card-text a {
  color: #017439;
  text-decoration: underline;
}

.page-cockfighting__card-text a:hover {
  color: #005f2e;
}

/* Benefits List */
.page-cockfighting__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-cockfighting__benefits-item {
  background: #f9f9f9;
  border-left: 5px solid #017439;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__benefits-title {
  font-size: 24px;
  color: #017439;
  margin-bottom: 15px;
}

.page-cockfighting__benefits-item p {
  font-size: 17px;
  color: #555555;
  line-height: 1.7;
}

.page-cockfighting__benefits-item p a {
  color: #017439;
  text-decoration: underline;
}

.page-cockfighting__benefits-item p a:hover {
  color: #005f2e;
}

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

.page-cockfighting__step-card {
  background: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}