/* Base styles for the cockfighting page */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #f8f8f8;
}

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

.page-cockfighting__section-spacing {
  padding: 60px 0;
}

.page-cockfighting__section-title {
  font-size: 38px;
  font-weight: 700;
  color: #2563eb;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-cockfighting__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__highlight {
  color: #2563eb;
  font-weight: 600;
}

.page-cockfighting__link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.page-cockfighting__link:hover {
  text-decoration: underline;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  margin: 10px;
  max-width: 100%; /* Ensure buttons adapt */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

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

.page-cockfighting__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.page-cockfighting__hero-title {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-cockfighting__hero-description {
  font-size: 22px;
  margin-bottom: 30px;
}

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

/* Introduction Section */
.page-cockfighting__introduction-section .page-cockfighting__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Benefits Section */
.page-cockfighting__dark-bg {
  background-color: #2563eb;
  color: #ffffff;
}

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

.page-cockfighting__dark-bg .page-cockfighting__link {
  color: #93c5fd;
}

.page-cockfighting__dark-bg .page-cockfighting__link:hover {
  color: #dbeafe;
}

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

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

.page-cockfighting__benefit-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.page-cockfighting__benefit-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  object-fit: cover;
}

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

.page-cockfighting__card-description {
  font-size: 16px;
  color: #e0e0e0;
}

/* Choose Platform Section */
.page-cockfighting__criteria-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__criteria-list .page-cockfighting__list-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 17px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__criteria-list .page-cockfighting__list-item strong {
  color: #2563eb;
  margin-right: 10px;
}

.page-cockfighting__image-with-text {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-cockfighting__image-with-text .page-cockfighting__content-image {
  flex: 1; /* Allows image to take available space */
  min-width: 300px; /* Minimum width before wrapping */
  border-radius: 10px;
  object-fit: cover;
}

.page-cockfighting__image-with-text .page-cockfighting__text-block {
  flex: 1; /* Allows text to take available space */
  min-width: 300px; /* Minimum width before wrapping */
  margin-bottom: 0;
}

/* Guide Section */
.page-cockfighting__light-bg {
  background-color: #f0f4f8;
}

.page-cockfighting__guide-list {
  list-style: decimal;
  padding-left: 25px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__guide-list .page-cockfighting__list-item {
  font-size: 18px;
  margin-bottom: 15px;
  line-height: 1.5;
}

.page-cockfighting__guide-list .page-cockfighting__list-item strong {
  color: #2563eb;
}

/* Bet Types Section */
.page-cockfighting__bet-types-section .page-cockfighting__content-image {
  display: block;
  margin: 0 auto 30px auto;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__bet-list {
  list-style: disc;
  padding-left: 25px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__bet-list .page-cockfighting__list-item {
  font-size: 18px;
  margin-bottom: 10px;
}

.page-cockfighting__bet-list .page-cockfighting__list-item strong {
  color: #2563eb;
}

/* Tips Section */
.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__tips-list .page-cockfighting__list-item {
  background-color: rgba(255, 255, 255, 0.15);
  border-left: 5px solid #ffffff;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 17px;
  color: #e0e0e0;
  border-radius: 5px;
}

.page-cockfighting__tips-list .page-cockfighting__list-item strong {
  color: #ffffff;
}

/* Safety Section */
.page-cockfighting__safety-section .page-cockfighting__content-image {
  display: block;
  margin: 0 auto 30px auto;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Future Section */
.page-cockfighting__future-section .page-cockfighting__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__news-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.page-cockfighting__news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-cockfighting__news-card .page-cockfighting__card-title {
  font-size: 20px;
  padding: 15px 20px 0;
  text-align: left;
}

.page-cockfighting__news-card .page-cockfighting__card-title a {
  color: #ffffff;
  text-decoration: none;
}

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

.page-cockfighting__news-card .page-cockfighting__card-description {
  font-size: 15px;
  padding: 0 20px 20px;
  text-align: left;
}

/* FAQ Section */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.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;
}

.page-cockfighting__faq-answer p {
  font-size: 16px;
  margin-bottom: 0;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section .page-cockfighting__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 44px;
  }

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

  .page-cockfighting__section-title {
    font-size: 32px;
  }

  .page-cockfighting__text-block {
    font-size: 17px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    min-height: 450px;
    padding-top: 10px; /* Still small top padding */
  }

  .page-cockfighting__hero-content {
    padding: 20px;
  }

  .page-cockfighting__hero-title {
    font-size: 32px;
  }

  .page-cockfighting__hero-description {
    font-size: 18px;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
    padding: 12px 15px !important; /* Adjust padding for mobile */
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-cockfighting__text-block {
    font-size: 16px;
    text-align: left;
  }

  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting__benefits-grid,
  .page-cockfighting__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__benefit-card,
  .page-cockfighting__news-card {
    padding: 20px;
  }

  .page-cockfighting__image-with-text {
    flex-direction: column;
    gap: 20px;
  }

  .page-cockfighting__image-with-text .page-cockfighting__content-image,
  .page-cockfighting__image-with-text .page-cockfighting__text-block {
    min-width: unset;
    width: 100%;
  }

  .page-cockfighting__criteria-list,
  .page-cockfighting__guide-list,
  .page-cockfighting__bet-list,
  .page-cockfighting__tips-list {
    padding-left: 20px;
  }

  .page-cockfighting__criteria-list .page-cockfighting__list-item,
  .page-cockfighting__guide-list .page-cockfighting__list-item,
  .page-cockfighting__bet-list .page-cockfighting__list-item,
  .page-cockfighting__tips-list .page-cockfighting__list-item {
    font-size: 16px;
    padding: 10px 15px;
  }

  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    padding: 15px;
  }
  .page-cockfighting__faq-qtext {
    font-size: 16px;
  }
  .page-cockfighting__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 15px 15px;
  }
  .page-cockfighting__faq-answer p {
    font-size: 15px;
  }

  /* General image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    box-sizing: border-box !important;
  }

  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__content-image,
  .page-cockfighting__benefit-icon,
  .page-cockfighting__news-image {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}