.page-cockfighting-betting-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #FFFFFF;
}

.page-cockfighting-betting-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-cockfighting-betting-guide__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-cockfighting-betting-guide__section-title {
  font-size: 32px;
  font-weight: bold;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-cockfighting-betting-guide__description {
  font-size: 17px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.page-cockfighting-betting-guide__text-center {
  text-align: center;
}

/* Hero Section */
.page-cockfighting-betting-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #f0f0f0; /* Light background for hero */
  overflow: hidden;
}

.page-cockfighting-betting-guide__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-cockfighting-betting-guide__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-cockfighting-betting-guide__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-cockfighting-betting-guide__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-cockfighting-betting-guide__main-title {
  font-size: 48px;
  font-weight: 800;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.page-cockfighting-betting-guide__intro-text {
  font-size: 20px;
  color: #333333;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting-betting-guide__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(195, 8, 8, 0.4);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting-betting-guide__cta-button:hover {
  background: #a30606;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(195, 8, 8, 0.6);
}

/* Dark background sections */
.page-cockfighting-betting-guide__dark-bg {
  background-color: #017439;
  color: #ffffff; /* White text for dark background */
}

.page-cockfighting-betting-guide__dark-bg .page-cockfighting-betting-guide__section-title {
  color: #ffffff;
}

.page-cockfighting-betting-guide__dark-bg .page-cockfighting-betting-guide__description {
  color: #f0f0f0;
}

/* Light background sections */
.page-cockfighting-betting-guide__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Grid Layout */
.page-cockfighting-betting-guide__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Card Styles */
.page-cockfighting-betting-guide__card {
  background: #ffffff;
  color: #333333;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting-betting-guide__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-cockfighting-betting-guide__card img {
  width: 100%;
  height: auto;
  max-width: 400px; /* Max width for images in cards */
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px;
  min-width: 200px;
}

.page-cockfighting-betting-guide__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #017439;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-cockfighting-betting-guide__card p {
  font-size: 16px;
  line-height: 1.7;
}

/* Step-by-Step Guide */
.page-cockfighting-betting-guide__step-by-step {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 40px;
}

.page-cockfighting-betting-guide__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-cockfighting-betting-guide__step-item img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin-top: 25px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  min-height: 200px;
  min-width: 200px;
}

.page-cockfighting-betting-guide__step-title {
  font-size: 26px;
  font-weight: 700;
  color: #FFFF00; /* Register/Login font color for titles in dark sections */
  margin-bottom: 20px;
}

.page-cockfighting-betting-guide__step-item p {
  font-size: 17px;
  color: #f0f0f0;
  max-width: 700px;
  margin: 0 auto;
}

.page-cockfighting-betting-guide__step-item p strong {
  color: #ffffff;
}

/* Button Group */
.page-cockfighting-betting-guide__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-cockfighting-betting-guide__btn-primary,
.page-cockfighting-betting-guide__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting-betting-guide__btn-primary {
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
}

.page-cockfighting-betting-guide__btn-primary:hover {
  background: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(195, 8, 8, 0.5);
}

.page-cockfighting-betting-guide__btn-secondary {
  background: #ffffff;
  color: #017439; /* Brand primary color */
  border-color: #017439;
}

.page-cockfighting-betting-guide__btn-secondary:hover {
  background: #f0f0f0;
  color: #005a2e;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

/* Tips List */
.page-cockfighting-betting-guide__tips-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  max-width: 900px;
}

.page-cockfighting-betting-guide__tips-list li {
  background: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #FFFF00; /* Accent color */
  margin-bottom: 25px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting-betting-guide__tips-list li:last-child {
  margin-bottom: 0;
}

.page-cockfighting-betting-guide__list-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-cockfighting-betting-guide__tips-list p {
  color: #f0f0f0;
  font-size: 16px;
}

/* Support Channels */
.page-cockfighting-betting-guide__support-channels {
  max-width: 700px;
  margin: 30px auto 0;
  text-align: center;
}

.page-cockfighting-betting-guide__support-channels p {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-cockfighting-betting-guide__support-channels ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-cockfighting-betting-guide__support-channels li {
  font-size: 17px;
  color: #ffffff;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-cockfighting-betting-guide__support-channels li::before {
  content: '✓';
  color: #FFFF00; /* Accent color */
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

/* FAQ Section */
.page-cockfighting-betting-guide__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-cockfighting-betting-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-cockfighting-betting-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-cockfighting-betting-guide__faq-item.active .page-cockfighting-betting-guide__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #333333;
}

.page-cockfighting-betting-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-cockfighting-betting-guide__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-cockfighting-betting-guide__faq-question:active {
  background: #eeeeee;
}

.page-cockfighting-betting-guide__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #017439;
}

.page-cockfighting-betting-guide__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-cockfighting-betting-guide__faq-item.active .page-cockfighting-betting-guide__faq-toggle {
  color: #333;
  transform: rotate(45deg);
}

/* Conclusion Section */
.page-cockfighting-betting-guide__conclusion {
  padding-bottom: 80px;
}

/* Global image styles */
.page-cockfighting-betting-guide img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting-betting-guide__main-title {
    font-size: 40px;
  }
  .page-cockfighting-betting-guide__intro-text {
    font-size: 18px;
  }
  .page-cockfighting-betting-guide__section-title {
    font-size: 28px;
  }
}

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

  .page-cockfighting-betting-guide__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting-betting-guide__main-title {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .page-cockfighting-betting-guide__intro-text {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-cockfighting-betting-guide__cta-button {
    padding: 15px 30px;
    font-size: 18px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting-betting-guide__section {
    padding: 40px 0;
  }

  .page-cockfighting-betting-guide__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .page-cockfighting-betting-guide__description {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .page-cockfighting-betting-guide__grid-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting-betting-guide__card {
    padding: 20px;
    border-radius: 8px;
  }
  
  .page-cockfighting-betting-guide__card img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-cockfighting-betting-guide__card-title {
    font-size: 20px;
  }

  .page-cockfighting-betting-guide__step-by-step {
    gap: 30px;
  }

  .page-cockfighting-betting-guide__step-title {
    font-size: 22px;
  }

  .page-cockfighting-betting-guide__step-item img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-cockfighting-betting-guide__button-group {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  
  .page-cockfighting-betting-guide__btn-primary,
  .page-cockfighting-betting-guide__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-betting-guide__tips-list li {
    padding: 20px;
  }

  .page-cockfighting-betting-guide__list-title {
    font-size: 18px;
  }

  .page-cockfighting-betting-guide__support-channels {
    padding: 0 15px;
  }

  .page-cockfighting-betting-guide__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-cockfighting-betting-guide__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-cockfighting-betting-guide__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-cockfighting-betting-guide__faq-answer {
    padding: 0 15px;
  }
  
  .page-cockfighting-betting-guide__faq-item.active .page-cockfighting-betting-guide__faq-answer {
    padding: 15px !important;
  }

  /* Ensure all image containers are responsive */
  .page-cockfighting-betting-guide__section,
  .page-cockfighting-betting-guide__card,
  .page-cockfighting-betting-guide__container,
  .page-cockfighting-betting-guide__hero-container,
  .page-cockfighting-betting-guide__hero-image,
  .page-cockfighting-betting-guide__step-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Only add horizontal padding if not already handled by a more specific element */
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Adjust padding for sections to avoid double padding if container also has it */
  .page-cockfighting-betting-guide__section {
      padding-left: 0;
      padding-right: 0;
  }
  .page-cockfighting-betting-guide__container {
      padding-left: 15px;
      padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting-betting-guide__main-title {
    font-size: 26px;
  }
  .page-cockfighting-betting-guide__section-title {
    font-size: 22px;
  }
  .page-cockfighting-betting-guide__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-cockfighting-betting-guide__card-title {
    font-size: 18px;
  }
  .page-cockfighting-betting-guide__step-title {
    font-size: 20px;
  }
}