:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --border-light: #e0e0e0;
  --button-register-login-bg: #C30808;
  --button-register-login-text: #FFFF00;
}

.page-resources-how-to-choose-best-betting-platform {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light body background */
  background-color: var(--secondary-color); /* Explicitly set for consistency, matches default body */
  padding-top: var(--header-offset, 120px); /* Ensure content is not covered by fixed header */
}

/* Hero Section */
.page-resources-how-to-choose-best-betting-platform__hero-section {
  position: relative;
  background-color: var(--primary-color);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden; /* Prevent content overflow */
}

.page-resources-how-to-choose-best-betting-platform__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Overlay for text readability */
  z-index: 1;
  max-width: 100%; /* Ensure image is responsive */
  filter: none; /* No CSS filter */
}

.page-resources-how-to-choose-best-betting-platform__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-how-to-choose-best-betting-platform__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.2;
}

.page-resources-how-to-choose-best-betting-platform__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-resources-how-to-choose-best-betting-platform__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-how-to-choose-best-betting-platform__btn-primary,
.page-resources-how-to-choose-best-betting-platform__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-resources-how-to-choose-best-betting-platform__btn-primary {
  background-color: var(--button-register-login-bg); /* Custom color #C30808 */
  color: var(--button-register-login-text); /* Custom color #FFFF00 */
  border: 2px solid var(--button-register-login-bg);
}

.page-resources-how-to-choose-best-betting-platform__btn-primary:hover {
  background-color: #A30606; /* Slightly darker for hover */
  border-color: #A30606;
  color: var(--button-register-login-text);
}

.page-resources-how-to-choose-best-betting-platform__btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.page-resources-how-to-choose-best-betting-platform__btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
  border-color: var(--text-light);
}

/* General Section Styles */
.page-resources-how-to-choose-best-betting-platform__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-resources-how-to-choose-best-betting-platform__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-resources-how-to-choose-best-betting-platform__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Introduction Section */
.page-resources-how-to-choose-best-betting-platform__introduction-section {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

/* Criteria Section */
.page-resources-how-to-choose-best-betting-platform__criteria-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-resources-how-to-choose-best-betting-platform__criteria-section .page-resources-how-to-choose-best-betting-platform__section-title {
  color: var(--text-light);
}

.page-resources-how-to-choose-best-betting-platform__criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-how-to-choose-best-betting-platform__criterion-card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark bg */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-light);
}

.page-resources-how-to-choose-best-betting-platform__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-resources-how-to-choose-best-betting-platform__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  filter: none; /* No CSS filter */
  min-width: 200px; /* Min size constraint */
  min-height: 200px; /* Min size constraint */
}

.page-resources-how-to-choose-best-betting-platform__card-text {
  font-size: 1em;
  color: var(--text-light);
  text-align: justify;
}

/* Why 95win game Section */
.page-resources-how-to-choose-best-betting-platform__why-95win-section {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-resources-how-to-choose-best-betting-platform__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-resources-how-to-choose-best-betting-platform__list-item {
  background-color: var(--secondary-color);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
}

.page-resources-how-to-choose-best-betting-platform__list-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-resources-how-to-choose-best-betting-platform__list-description {
  font-size: 1em;
  color: var(--text-dark);
  text-align: justify;
}

.page-resources-how-to-choose-best-betting-platform__cta-buttons--center {
  margin-top: 40px;
  justify-content: center;
}

/* Video Section */
.page-resources-how-to-choose-best-betting-platform__video-section {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 60px 20px;
  text-align: center;
}

.page-resources-how-to-choose-best-betting-platform__video-section .page-resources-how-to-choose-best-betting-platform__section-title {
  color: var(--text-light);
}

.page-resources-how-to-choose-best-betting-platform__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 0 auto 20px auto;
  border-radius: 10px;
}

.page-resources-how-to-choose-best-betting-platform__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  max-width: 100%; /* Ensure video is responsive */
  height: auto; /* Ensure video is responsive */
  display: block;
}

.page-resources-how-to-choose-best-betting-platform__video-caption {
  font-size: 1em;
  color: var(--text-light);
  margin-top: 20px;
}

/* Responsible Gambling Section */
.page-resources-how-to-choose-best-betting-platform__responsible-gambling-section {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  text-align: center;
}

.page-resources-how-to-choose-best-betting-platform__responsible-gambling-section .page-resources-how-to-choose-best-betting-platform__btn-secondary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background-color: transparent;
}

.page-resources-how-to-choose-best-betting-platform__responsible-gambling-section .page-resources-how-to-choose-best-betting-platform__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

/* FAQ Section */
.page-resources-how-to-choose-best-betting-platform__faq-section {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding-bottom: 60px;
}

.page-resources-how-to-choose-best-betting-platform__faq-section .page-resources-how-to-choose-best-betting-platform__section-title {
  color: var(--text-light);
}

.page-resources-how-to-choose-best-betting-platform__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-how-to-choose-best-betting-platform__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-how-to-choose-best-betting-platform__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  color: var(--text-light);
  list-style: none; /* Remove default marker for details/summary */
}

.page-resources-how-to-choose-best-betting-platform__faq-question::-webkit-details-marker {
  display: none; /* Remove default marker for WebKit browsers */
}

.page-resources-how-to-choose-best-betting-platform__faq-qtext {
  flex-grow: 1;
}

.page-resources-how-to-choose-best-betting-platform__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-resources-how-to-choose-best-betting-platform__faq-item[open] .page-resources-how-to-choose-best-betting-platform__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to form an X or simply change to minus */
}

.page-resources-how-to-choose-best-betting-platform__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
  text-align: justify;
}

/* Conclusion Section */
.page-resources-how-to-choose-best-betting-platform__conclusion-section {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-how-to-choose-best-betting-platform__hero-title {
    font-size: 2.5em;
  }
  .page-resources-how-to-choose-best-betting-platform__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-how-to-choose-best-betting-platform {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-how-to-choose-best-betting-platform__hero-section {
    padding: 60px 15px;
  }

  .page-resources-how-to-choose-best-betting-platform__hero-title {
    font-size: 2em;
  }

  .page-resources-how-to-choose-best-betting-platform__hero-description {
    font-size: 1em;
  }

  .page-resources-how-to-choose-best-betting-platform__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-how-to-choose-best-betting-platform__btn-primary,
  .page-resources-how-to-choose-best-betting-platform__btn-secondary {
    width: 100% !important; /* Ensure buttons take full width */
    max-width: 100% !important;
    padding: 12px 20px;
  }

  .page-resources-how-to-choose-best-betting-platform__container,
  .page-resources-how-to-choose-best-betting-platform__section,
  .page-resources-how-to-choose-best-betting-platform__card,
  .page-resources-how-to-choose-best-betting-platform__video-section,
  .page-resources-how-to-choose-best-betting-platform__video-container,
  .page-resources-how-to-choose-best-betting-platform__video-wrapper {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  .page-resources-how-to-choose-best-betting-platform__section-title {
    font-size: 1.8em;
  }

  .page-resources-how-to-choose-best-betting-platform__paragraph {
    font-size: 0.95em;
  }

  .page-resources-how-to-choose-best-betting-platform__criteria-grid {
    grid-template-columns: 1fr;
  }

  .page-resources-how-to-choose-best-betting-platform__card-title {
    font-size: 1.3em;
  }

  .page-resources-how-to-choose-best-betting-platform__list-title {
    font-size: 1.2em;
  }

  /* Images responsive */
  .page-resources-how-to-choose-best-betting-platform img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Video responsive */
  .page-resources-how-to-choose-best-betting-platform video,
  .page-resources-how-to-choose-best-betting-platform__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Specific padding-top for video section on mobile if needed, otherwise rely on main padding-top */
  .page-resources-how-to-choose-best-betting-platform__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-how-to-choose-best-betting-platform__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-resources-how-to-choose-best-betting-platform__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

/* Color contrast fixes/enhancements */
.page-resources-how-to-choose-best-betting-platform__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-resources-how-to-choose-best-betting-platform__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-resources-how-to-choose-best-betting-platform__btn-secondary.page-resources-how-to-choose-best-betting-platform__btn-secondary--center {
    color: var(--primary-color); /* Ensure text is primary color on light background */
    border-color: var(--primary-color);
}
.page-resources-how-to-choose-best-betting-platform__btn-secondary.page-resources-how-to-choose-best-betting-platform__btn-secondary--center:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}