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

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

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

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

.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from parent section */
}

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

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

.page-cockfighting__hero-image-container {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

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

.page-cockfighting__hero-content {
  position: relative; /* Ensure content is above any potential background effect */
  z-index: 1;
  padding: 20px 15px;
  max-width: 900px;
  margin: 0 auto;
}

.page-cockfighting__main-title {
  font-size: clamp(32px, 5vw, 48px); /* Responsive H1 font size */
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-cockfighting__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-cockfighting__btn-primary:hover {
  background-color: #d16b05;
  transform: translateY(-2px);
}

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

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

.page-cockfighting__introduction-section {
  padding: 60px 0;
}

.page-cockfighting__introduction-section p {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__features-section {
  padding: 60px 0;
}

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

.page-cockfighting__feature-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-5px);
}

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

.page-cockfighting__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting__feature-card p {
  font-size: 16px;
  color: #555555;
  flex-grow: 1;
}

.page-cockfighting__types-section {
  padding: 60px 0;
}

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

.page-cockfighting__type-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;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-cockfighting__type-card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__type-card .page-cockfighting__card-title {
  font-size: 22px;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-cockfighting__type-card p {
  font-size: 15px;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-cockfighting__type-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.page-cockfighting__betting-guide-section {
  padding: 60px 0;
}

.page-cockfighting__steps-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 800px;
  margin: 0 auto;
}

.page-cockfighting__step-item {
  display: flex;
  align-items: flex-start;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-cockfighting__step-number {
  font-size: 32px;
  font-weight: 800;
  color: #26A9E0;
  margin-right: 20px;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #26A9E0;
  border-radius: 50%;
  background-color: #e0f7fa;
}

.page-cockfighting__step-content h3 {
  font-size: 22px;
  color: #26A9E0;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-cockfighting__step-content p {
  font-size: 16px;
  color: #555555;
  margin-bottom: 0;
}

.page-cockfighting__promotions-section {
  padding: 60px 0;
}

.page-cockfighting__promo-list {
  list-style: disc;
  padding-left: 25px;
  font-size: 17px;
  color: #333333;
  max-width: 900px;
  margin: 0 auto 30px;
}

.page-cockfighting__promo-list li {
  margin-bottom: 10px;
}

.page-cockfighting__tips-section {
  padding: 60px 0;
}

.page-cockfighting__tips-list {
  list-style: decimal;
  padding-left: 25px;
  font-size: 17px;
  color: #ffffff;
  max-width: 900px;
  margin: 0 auto;
}

.page-cockfighting__tips-list li {
  margin-bottom: 10px;
}

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

.page-cockfighting__cta-section p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-cockfighting__button-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-cockfighting__faq-section {
  padding: 60px 0;
}

.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  color: #333333;
}

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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: #f5f5f5;
}

.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__section-title {
    font-size: 32px;
  }
  .page-cockfighting__feature-grid, .page-cockfighting__type-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-cockfighting__hero-section {
    min-height: 450px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    min-height: 350px;
  }

  .page-cockfighting__hero-image-container {
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-cockfighting__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-cockfighting__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__cta-button,
  .page-cockfighting__reg-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-cockfighting__button-group {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-cockfighting__introduction-section,
  .page-cockfighting__features-section,
  .page-cockfighting__types-section,
  .page-cockfighting__betting-guide-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__cta-section,
  .page-cockfighting__faq-section {
    padding: 40px 0;
  }

  .page-cockfighting__introduction-section p {
    font-size: 15px;
  }

  .page-cockfighting__feature-grid,
  .page-cockfighting__type-grid {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 20px;
  }

  .page-cockfighting__feature-card,
  .page-cockfighting__type-card {
    padding: 20px;
  }

  .page-cockfighting__feature-image,
  .page-cockfighting__type-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 200px;
  }

  .page-cockfighting__card-title {
    font-size: 20px;
  }

  .page-cockfighting__steps-list {
    gap: 15px;
  }

  .page-cockfighting__step-item {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .page-cockfighting__step-number {
    margin-right: 0;
    margin-bottom: 15px;
    font-size: 28px;
    width: 45px;
    height: 45px;
  }

  .page-cockfighting__step-content {
    text-align: center;
  }

  .page-cockfighting__step-content h3 {
    font-size: 18px;
  }

  .page-cockfighting__step-content p {
    font-size: 15px;
  }

  .page-cockfighting__promo-list,
  .page-cockfighting__tips-list {
    font-size: 15px;
    padding-left: 20px;
  }

  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question { padding: 15px; }
  .page-cockfighting__faq-qtext { font-size: 15px; }
  .page-cockfighting__faq-answer { padding: 0 15px 15px; }
}

/* Ensure no image filters are used */
.page-cockfighting img {
  filter: none; /* Explicitly remove any potential filter */
}

/* Specific mobile rules for any table-like elements (e.g., promo-table if it existed) */
.page-cockfighting__promo-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
}
.page-cockfighting__promo-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px; /* Ensure table can scroll if content is wide */
}