.page-resources-choosing-reliable-cockfighting-platform {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --button-register-bg: #C30808;
  --button-login-bg: #C30808;
  --button-text-yellow: #FFFF00;
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
  
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light backgrounds */
}

.page-resources-choosing-reliable-cockfighting-platform__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-resources-choosing-reliable-cockfighting-platform__dark-bg .page-resources-choosing-reliable-cockfighting-platform__hero-title,
.page-resources-choosing-reliable-cockfighting-platform__dark-bg .page-resources-choosing-reliable-cockfighting-platform__cta-title {
  color: var(--text-light);
}

.page-resources-choosing-reliable-cockfighting-platform__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-resources-choosing-reliable-cockfighting-platform__hero-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
}

.page-resources-choosing-reliable-cockfighting-platform__hero-content {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

.page-resources-choosing-reliable-cockfighting-platform__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-resources-choosing-reliable-cockfighting-platform__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-resources-choosing-reliable-cockfighting-platform__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-choosing-reliable-cockfighting-platform__btn-primary,
.page-resources-choosing-reliable-cockfighting-platform__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-choosing-reliable-cockfighting-platform__btn-primary {
  background-color: var(--button-register-bg);
  color: var(--button-text-yellow);
  border: 2px solid var(--button-register-bg);
}

.page-resources-choosing-reliable-cockfighting-platform__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
  color: var(--text-light);
}

.page-resources-choosing-reliable-cockfighting-platform__btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.page-resources-choosing-reliable-cockfighting-platform__btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

.page-resources-choosing-reliable-cockfighting-platform__btn-small {
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-resources-choosing-reliable-cockfighting-platform__btn-large {
  padding: 16px 32px;
  font-size: 1.2em;
}

.page-resources-choosing-reliable-cockfighting-platform__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 400px;
}

.page-resources-choosing-reliable-cockfighting-platform__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-resources-choosing-reliable-cockfighting-platform__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-resources-choosing-reliable-cockfighting-platform__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources-choosing-reliable-cockfighting-platform__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

.page-resources-choosing-reliable-cockfighting-platform__criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-choosing-reliable-cockfighting-platform__card {
  background-color: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-resources-choosing-reliable-cockfighting-platform__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-choosing-reliable-cockfighting-platform__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

.page-resources-choosing-reliable-cockfighting-platform__card-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-choosing-reliable-cockfighting-platform__card p {
  font-size: 0.95em;
  line-height: 1.6;
  text-align: justify;
}

.page-resources-choosing-reliable-cockfighting-platform__process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-resources-choosing-reliable-cockfighting-platform__step-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text-dark);
}

.page-resources-choosing-reliable-cockfighting-platform__step-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-choosing-reliable-cockfighting-platform__step-item p {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: justify;
}

.page-resources-choosing-reliable-cockfighting-platform__risk-avoidance {
  margin-top: 40px;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-choosing-reliable-cockfighting-platform__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.05em;
}

.page-resources-choosing-reliable-cockfighting-platform__list li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.page-resources-choosing-reliable-cockfighting-platform__list li strong {
  color: var(--primary-color);
}

.page-resources-choosing-reliable-cockfighting-platform__faq-container {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-choosing-reliable-cockfighting-platform__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-dark);
}

.page-resources-choosing-reliable-cockfighting-platform__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #f5f5f5;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--primary-color);
  transition: background-color 0.3s ease;
}

.page-resources-choosing-reliable-cockfighting-platform__faq-question:hover {
  background-color: #eaeaea;
}

.page-resources-choosing-reliable-cockfighting-platform__faq-question h3 {
  margin: 0;
  font-size: 1.1em;
  color: inherit;
}

.page-resources-choosing-reliable-cockfighting-platform__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--primary-color);
}

.page-resources-choosing-reliable-cockfighting-platform__faq-item.active .page-resources-choosing-reliable-cockfighting-platform__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-choosing-reliable-cockfighting-platform__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: var(--card-bg);
}

.page-resources-choosing-reliable-cockfighting-platform__faq-item.active .page-resources-choosing-reliable-cockfighting-platform__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

.page-resources-choosing-reliable-cockfighting-platform__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-dark);
  text-align: justify;
}

.page-resources-choosing-reliable-cockfighting-platform__cta-bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  gap: 40px;
  max-width: 1400px;
  margin: 60px auto 0 auto;
  border-radius: 10px;
  overflow: hidden;
}

.page-resources-choosing-reliable-cockfighting-platform__cta-content {
  flex: 1;
  max-width: 700px;
  text-align: left;
}

.page-resources-choosing-reliable-cockfighting-platform__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  line-height: 1.3;
  font-weight: bold;
  color: var(--text-light);
}

.page-resources-choosing-reliable-cockfighting-platform__cta-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  line-height: 1.7;
  color: var(--text-light);
}

.page-resources-choosing-reliable-cockfighting-platform__cta-image {
  flex: 1;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-choosing-reliable-cockfighting-platform__hero-section,
  .page-resources-choosing-reliable-cockfighting-platform__cta-bottom {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .page-resources-choosing-reliable-cockfighting-platform__hero-content,
  .page-resources-choosing-reliable-cockfighting-platform__cta-content {
    max-width: 100%;
    text-align: center;
  }

  .page-resources-choosing-reliable-cockfighting-platform__hero-image-wrapper,
  .page-resources-choosing-reliable-cockfighting-platform__cta-image {
    margin-top: 30px;
  }

  .page-resources-choosing-reliable-cockfighting-platform__hero-title {
    font-size: 2.2em;
  }

  .page-resources-choosing-reliable-cockfighting-platform__cta-title {
    font-size: 2em;
  }

  .page-resources-choosing-reliable-cockfighting-platform__cta-buttons {
    justify-content: center;
  }
}

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

  .page-resources-choosing-reliable-cockfighting-platform__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header on mobile */
    gap: 20px;
  }

  .page-resources-choosing-reliable-cockfighting-platform__hero-title {
    font-size: 1.8em;
  }

  .page-resources-choosing-reliable-cockfighting-platform__hero-description {
    font-size: 1em;
  }

  .page-resources-choosing-reliable-cockfighting-platform__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-choosing-reliable-cockfighting-platform__cta-title {
    font-size: 1.8em;
  }

  .page-resources-choosing-reliable-cockfighting-platform__cta-text {
    font-size: 1em;
  }

  .page-resources-choosing-reliable-cockfighting-platform__btn-primary,
  .page-resources-choosing-reliable-cockfighting-platform__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-choosing-reliable-cockfighting-platform__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-resources-choosing-reliable-cockfighting-platform__content-area,
  .page-resources-choosing-reliable-cockfighting-platform__risk-avoidance,
  .page-resources-choosing-reliable-cockfighting-platform__faq-container,
  .page-resources-choosing-reliable-cockfighting-platform__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  .page-resources-choosing-reliable-cockfighting-platform__card-image {
    height: auto; /* Allow height to adjust for mobile */
    min-height: 200px;
  }

  .page-resources-choosing-reliable-cockfighting-platform__card {
    padding: 20px;
  }

  .page-resources-choosing-reliable-cockfighting-platform__faq-question,
  .page-resources-choosing-reliable-cockfighting-platform__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}