.page-cockfighting {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-cockfighting__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-cockfighting__section-title--light {
  color: #F2FFF6;
}

.page-cockfighting__section-text {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
  color: #A7D9B8;
}

.page-cockfighting__section-text--light {
  color: #F2FFF6;
}

.page-cockfighting__sub-title {
  font-size: clamp(22px, 3vw, 30px);
  color: #F2C14E;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__list,
.page-cockfighting__numbered-list {
  list-style-position: inside;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-cockfighting__list-item {
  margin-bottom: 10px;
  font-size: 16px;
  color: #A7D9B8;
}

.page-cockfighting__list-item strong {
  color: #F2FFF6;
}

.page-cockfighting__list-item a {
  color: #2AD16F;
  text-decoration: none;
}

.page-cockfighting__list-item a:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, main offset from body */
}

.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.5); /* Darken image for text readability */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-cockfighting__main-title {
  font-size: clamp(32px, 5vw, 56px);
  color: #F2FFF6;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
}

.page-cockfighting__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  color: #A7D9B8;
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-cockfighting__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

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

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  background: #11271B;
  color: #2AD16F;
  border: 2px solid #2AD16F;
}

.page-cockfighting__btn-secondary:hover {
  background: #2AD16F;
  color: #11271B;
  transform: translateY(-2px);
}

.page-cockfighting__btn-primary--small,
.page-cockfighting__btn-secondary--small {
  padding: 10px 20px;
  font-size: 16px;
}

/* Intro Section */
.page-cockfighting__intro-section {
  padding: 60px 0;
  background-color: #08160F;
}

/* Types Section */
.page-cockfighting__types-section {
  padding: 60px 0;
  background-color: #11271B;
}

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

.page-cockfighting__card {
  background-color: #08160F;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid #2E7A4E;
  color: #F2FFF6;
}

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

.page-cockfighting__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-cockfighting__card-title {
  font-size: 22px;
  color: #F2C14E;
  padding: 20px;
  margin: 0;
  font-weight: bold;
}

.page-cockfighting__card-text {
  font-size: 15px;
  color: #A7D9B8;
  padding: 0 20px 20px;
  line-height: 1.6;
}

.page-cockfighting__card-text a {
  color: #2AD16F;
  text-decoration: none;
}

.page-cockfighting__card-text a:hover {
  text-decoration: underline;
}

/* Rules and Betting Section */
.page-cockfighting__rules-betting-section {
  padding: 60px 0;
  background-color: #08160F;
}

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

.page-cockfighting__content-block {
  background-color: #11271B;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #2E7A4E;
}

/* Benefits Section */
.page-cockfighting__benefits-section {
  padding: 60px 0;
  background-color: #11271B;
}

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

.page-cockfighting__feature-item {
  text-align: center;
  background-color: #08160F;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #2E7A4E;
  transition: transform 0.3s ease;
}

.page-cockfighting__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__feature-title {
  font-size: 20px;
  color: #F2C14E;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__feature-text {
  font-size: 15px;
  color: #A7D9B8;
  line-height: 1.6;
}

.page-cockfighting__feature-text a {
  color: #2AD16F;
  text-decoration: none;
}

.page-cockfighting__feature-text a:hover {
  text-decoration: underline;
}

/* Registration Login Section */
.page-cockfighting__registration-login-section {
  padding: 60px 0;
  background-color: #08160F;
}

/* Tips Section */
.page-cockfighting__tips-section {
  padding: 60px 0;
  background-color: #11271B;
}

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

.page-cockfighting__tip-card {
  background-color: #08160F;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #2E7A4E;
  color: #F2FFF6;
}

.page-cockfighting__tip-title {
  font-size: 20px;
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__tip-text {
  font-size: 15px;
  color: #A7D9B8;
  line-height: 1.6;
}

.page-cockfighting__tip-text a {
  color: #2AD16F;
  text-decoration: none;
}

.page-cockfighting__tip-text a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-cockfighting__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: #F2C14E;
  background-color: #11271B;
  border-bottom: 1px solid #2E7A4E;
  list-style: none;
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: #2AD16F;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom-color: transparent;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  content: '−';
}

.page-cockfighting__faq-answer {
  padding: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: #A7D9B8;
  background-color: #08160F;
}

.page-cockfighting__faq-answer p {
  margin: 0;
}

.page-cockfighting__faq-answer a {
  color: #2AD16F;
  text-decoration: none;
}

.page-cockfighting__faq-answer a:hover {
  text-decoration: underline;
}

/* Final CTA Section */
.page-cockfighting__final-cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #11271B;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    padding: 30px 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(28px, 4.5vw, 48px);
  }
  .page-cockfighting__hero-description {
    font-size: clamp(16px, 2.2vw, 20px);
  }
  .page-cockfighting__section-title {
    font-size: clamp(26px, 3.5vw, 38px);
  }
}

@media (max-width: 768px) {
  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting__hero-section {
    min-height: 400px;
  }
  .page-cockfighting__hero-content {
    padding: 25px 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(24px, 6vw, 36px);
  }
  .page-cockfighting__hero-description {
    font-size: clamp(15px, 3vw, 18px);
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-cockfighting__section-title {
    font-size: clamp(24px, 5vw, 32px);
  }
  .page-cockfighting__section-text,
  .page-cockfighting__list-item,
  .page-cockfighting__card-text,
  .page-cockfighting__feature-text,
  .page-cockfighting__tip-text,
  .page-cockfighting__faq-answer {
    font-size: 15px;
  }
  .page-cockfighting__card-title,
  .page-cockfighting__feature-title,
  .page-cockfighting__tip-title,
  .page-cockfighting__faq-question .page-cockfighting__faq-qtext {
    font-size: 18px;
  }
  .page-cockfighting__grid-cards,
  .page-cockfighting__content-grid,
  .page-cockfighting__feature-grid,
  .page-cockfighting__tips-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__card-image,
  .page-cockfighting__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__card,
  .page-cockfighting__feature-item,
  .page-cockfighting__tip-card,
  .page-cockfighting__content-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__faq-question {
    padding: 15px;
  }
  .page-cockfighting__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-section {
    min-height: 300px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(22px, 7vw, 30px);
  }
  .page-cockfighting__hero-description {
    font-size: clamp(14px, 4vw, 16px);
  }
  .page-cockfighting__section-title {
    font-size: clamp(22px, 6vw, 28px);
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    font-size: 16px;
    padding: 12px 20px;
  }
  .page-cockfighting__feature-icon {
    width: 60px;
    height: 60px;
  }
}

/* Ensure all images adhere to minimum size and responsive behavior */
.page-cockfighting img {
  min-width: 200px;
  min-height: 200px;
}

/* Override for specific small images that are allowed */
.page-cockfighting__feature-icon {
  min-width: unset;
  min-height: unset;
}

/* For contrast assurance on specific elements */
.page-cockfighting__dark-bg {
  color: #F2FFF6;
}

.page-cockfighting__light-bg {
  color: #A7D9B8;
}

.page-cockfighting__card {
  background-color: #11271B;
  color: #F2FFF6;
}

.page-cockfighting__content-block {
  background-color: #11271B;
  color: #F2FFF6;
}

.page-cockfighting__tip-card {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-cockfighting__faq-item {
  background-color: #11271B;
  color: #F2FFF6;
}

.page-cockfighting__faq-answer {
  background-color: #08160F;
  color: #A7D9B8;
}