.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Body background is light */
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  background-color: #26A9E0;
  color: #ffffff;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 20px;
}

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

.page-cockfighting__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-cockfighting__hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-cockfighting__cta-buttons--center {
  margin-top: 40px;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 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: #d86b00;
  border-color: #d86b00;
}

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

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

.page-cockfighting__section {
  padding: 60px 20px;
  overflow: hidden;
}

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

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

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

.page-cockfighting__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: inherit;
}

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

.page-cockfighting__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 25px;
  text-align: justify;
  color: inherit;
}

.page-cockfighting__text-block .highlight {
  color: #26A9E0;
  font-weight: bold;
}

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

.page-cockfighting__text-link {
  color: #26A9E0;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-cockfighting__text-link:hover {
  color: #1a7bbd;
}

.page-cockfighting__dark-section .page-cockfighting__text-link {
  color: #ffffff;
}

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

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

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

.page-cockfighting__feature-item,
.page-cockfighting__step-card,
.page-cockfighting__game-type-card,
.page-cockfighting__promotion-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-cockfighting__light-bg .page-cockfighting__feature-item,
.page-cockfighting__light-bg .page-cockfighting__step-card,
.page-cockfighting__light-bg .page-cockfighting__game-type-card,
.page-cockfighting__light-bg .page-cockfighting__promotion-card {
  background-color: #f9f9f9;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-cockfighting__feature-item:hover,
.page-cockfighting__step-card:hover,
.page-cockfighting__game-type-card:hover,
.page-cockfighting__promotion-card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__feature-title,
.page-cockfighting__step-title,
.page-cockfighting__game-type-title,
.page-cockfighting__promotion-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: inherit;
}

.page-cockfighting__feature-description,
.page-cockfighting__step-description,
.page-cockfighting__game-type-description,
.page-cockfighting__promotion-description {
  font-size: 1rem;
  line-height: 1.6;
  color: inherit;
  flex-grow: 1;
}

.page-cockfighting__game-type-image,
.page-cockfighting__promotion-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 6px;
  object-fit: cover;
}

.page-cockfighting__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__strategy-item {
  background-color: #f9f9f9;
  border-left: 5px solid #26A9E0;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__strategy-heading {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-cockfighting__strategy-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

.page-cockfighting__faq-list {
  margin-top: 40px;
}

.page-cockfighting__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  color: #333333;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-cockfighting__faq-item[open] summary {
  background-color: #f0f8ff;
  border-bottom: 1px solid #cceeff;
}

.page-cockfighting__faq-answer {
  padding: 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  text-align: justify;
}

.page-cockfighting__bottom-cta {
  padding: 80px 20px;
  text-align: center;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-cockfighting__bottom-cta-title {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-cockfighting__bottom-cta-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-cockfighting__bottom-cta-description .highlight {
  color: #ffffff;
  font-weight: bold;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-cockfighting__section-title {
    font-size: 2rem;
  }

  .page-cockfighting__bottom-cta-title {
    font-size: 2.2rem;
  }

  .page-cockfighting__feature-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__game-types-grid,
  .page-cockfighting__promotion-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
  }

  .page-cockfighting__hero-description {
    font-size: 1rem;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

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

  .page-cockfighting__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__section-title {
    font-size: 1.8rem;
  }

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

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

  .page-cockfighting__image-content,
  .page-cockfighting__game-type-image,
  .page-cockfighting__promotion-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-cockfighting__feature-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__game-types-grid,
  .page-cockfighting__promotion-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__feature-item,
  .page-cockfighting__step-card,
  .page-cockfighting__game-type-card,
  .page-cockfighting__promotion-card {
    padding: 20px;
  }

  .page-cockfighting__feature-title,
  .page-cockfighting__step-title,
  .page-cockfighting__game-type-title,
  .page-cockfighting__promotion-title {
    font-size: 1.2rem;
  }

  .page-cockfighting__strategy-item {
    padding: 20px;
  }

  .page-cockfighting__strategy-heading {
    font-size: 1.1rem;
  }

  .page-cockfighting__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-cockfighting__faq-answer {
    padding: 15px 20px;
  }

  .page-cockfighting__bottom-cta {
    padding: 60px 15px;
  }

  .page-cockfighting__bottom-cta-title {
    font-size: 1.8rem;
  }

  .page-cockfighting__bottom-cta-description {
    font-size: 1rem;
  }

  /* Ensure all image containers are responsive */
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__feature-item,
  .page-cockfighting__step-card,
  .page-cockfighting__game-type-card,
  .page-cockfighting__promotion-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Specific for content images to ensure min-size is respected */
  .page-cockfighting__image-content {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-cockfighting__game-type-image,
  .page-cockfighting__promotion-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}