.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #FFFFFF; /* Body background is white */
}

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

.page-cockfighting__section {
  padding: 60px 0;
  text-align: center;
}

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

.page-cockfighting__dark-bg {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-cockfighting__light-bg .page-cockfighting__section-title {
  color: #26A9E0;
}

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

.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px auto;
  max-width: 800px;
  text-align: left;
}

.page-cockfighting__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  line-height: 1.8;
  color: inherit;
}

.page-cockfighting__dark-bg .page-cockfighting__list-item {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.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: 1.1em;
  transition: all 0.3s ease;
  margin: 10px;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-primary:hover {
  background-color: #1a8ac7;
  border-color: #1a8ac7;
}

.page-cockfighting__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a8ac7;
  border-color: #1a8ac7;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body already handles top padding */
  min-height: 600px;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height of the image wrapper */
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  color: #333333;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
  font-weight: 900;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-cockfighting__description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #555555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* About Cockfighting Section */
.page-cockfighting__about-cockfighting .page-cockfighting__text-block {
  text-align: left;
}

.page-cockfighting__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Registration Guide Section */
.page-cockfighting__registration-guide .page-cockfighting__list-item {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-left: 5px solid #ffffff;
}

.page-cockfighting__registration-guide .page-cockfighting__list-item strong {
  color: #ffffff;
}

/* Cockfighting Halls Section */
.page-cockfighting__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  min-height: 220px;
}

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

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting__card-text {
  font-size: 1em;
  color: #555555;
}

/* Benefits Section */
.page-cockfighting__benefits-list {
  text-align: center;
}

.page-cockfighting__benefits-list .page-cockfighting__list-item {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-left: 5px solid #ffffff;
  text-align: left;
  margin-bottom: 15px;
}

.page-cockfighting__benefits-list .page-cockfighting__list-item strong {
  color: #ffffff;
  display: block;
  margin-bottom: 5px;
}

/* Promotions Section */
.page-cockfighting__promotions-list {
  margin-top: 30px;
}

.page-cockfighting__promotions-list .page-cockfighting__list-item {
  background-color: #f9f9f9;
  color: #333333;
  border-left: 5px solid #26A9E0;
  text-align: left;
}

.page-cockfighting__promotions-list .page-cockfighting__list-item strong {
  color: #26A9E0;
}

/* Login Experience Section */
.page-cockfighting__login-experience .page-cockfighting__list-item {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-left: 5px solid #ffffff;
  text-align: left;
}

.page-cockfighting__login-experience .page-cockfighting__list-item strong {
  color: #ffffff;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-cockfighting__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-question:hover {
  background-color: #f0f0f0;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #26A9E0;
}

.page-cockfighting__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1.1em;
  color: #555555;
}

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

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  background-color: #f0f0f0;
  border-bottom: 1px solid #ddd;
}

/* Conclusion Section */
.page-cockfighting__conclusion .page-cockfighting__text-block {
  color: #ffffff;
}

.page-cockfighting__conclusion .page-cockfighting__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border-color: #ffffff;
}

.page-cockfighting__conclusion .page-cockfighting__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a8ac7;
  border-color: #f0f0f0;
}

.page-cockfighting a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

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

.page-cockfighting__dark-bg a {
  color: #ffffff;
}

.page-cockfighting__dark-bg a:hover {
  color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
    padding-bottom: 40px;
    min-height: unset;
  }

  .page-cockfighting__hero-content {
    padding: 0 15px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-cockfighting__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-cockfighting__section {
    padding: 40px 0;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-cockfighting__text-block {
    font-size: 1em;
  }

  .page-cockfighting__list-item {
    padding: 12px 15px;
    font-size: 0.95em;
  }

  .page-cockfighting__cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__card {
    padding: 25px;
    min-height: unset;
  }

  .page-cockfighting__card-title {
    font-size: 1.3em;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 !important;
  }

  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-cockfighting__faq-answer {
    padding: 0 15px 15px 15px;
    font-size: 1em;
  }
}