:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --dark-background: #000;
  --light-text: #ffffff;
  --dark-text: #333333;
  --card-background-dark: rgba(255, 255, 255, 0.1);
  --card-background-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-resources-how-to-choose-safe-online-betting-platform {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--light-text); /* Default text color for body background #000 */
  background-color: var(--dark-background); /* Inherited from shared.css body */
  padding-top: 120px; /* Adjust for fixed header on desktop */
}

.page-resources-how-to-choose-safe-online-betting-platform__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Highlight Text */
.page-resources-how-to-choose-safe-online-betting-platform__highlight-text {
  color: var(--secondary-color);
  font-weight: bold;
}

/* Sections */
.page-resources-how-to-choose-safe-online-betting-platform__hero-section,
.page-resources-how-to-choose-safe-online-betting-platform__content-section,
.page-resources-how-to-choose-safe-online-betting-platform__faq-section,
.page-resources-how-to-choose-safe-online-betting-platform__conclusion-section {
  padding: 60px 0;
  text-align: center;
}

.page-resources-how-to-choose-safe-online-betting-platform__hero-section {
  padding-top: 10px; /* Specific padding for hero section to avoid header overlap */
  background-color: var(--dark-background);
  color: var(--light-text);
}

.page-resources-how-to-choose-safe-online-betting-platform__content-section.page-resources-how-to-choose-safe-online-betting-platform__light-bg {
  background-color: #f8f9fa;
  color: var(--dark-text);
}

.page-resources-how-to-choose-safe-online-betting-platform__content-section.page-resources-how-to-choose-safe-online-betting-platform__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast */
  color: var(--light-text);
}

.page-resources-how-to-choose-safe-online-betting-platform__faq-section {
  background-color: #1a1a1a;
  color: var(--light-text);
}

.page-resources-how-to-choose-safe-online-betting-platform__conclusion-section {
  background-color: #f8f9fa;
  color: var(--dark-text);
}

/* Headings */
.page-resources-how-to-choose-safe-online-betting-platform__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--light-text);
  line-height: 1.2;
}

.page-resources-how-to-choose-safe-online-betting-platform__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: var(--primary-color);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-resources-how-to-choose-safe-online-betting-platform__content-section.page-resources-how-to-choose-safe-online-betting-platform__light-bg .page-resources-how-to-choose-safe-online-betting-platform__section-title {
  color: var(--primary-color);
}

.page-resources-how-to-choose-safe-online-betting-platform__content-section.page-resources-how-to-choose-safe-online-betting-platform__dark-bg .page-resources-how-to-choose-safe-online-betting-platform__section-title {
  color: var(--secondary-color);
}

.page-resources-how-to-choose-safe-online-betting-platform__hero-description {
  font-size: 1.25em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-how-to-choose-safe-online-betting-platform__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-resources-how-to-choose-safe-online-betting-platform__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-how-to-choose-safe-online-betting-platform__btn-primary {
  background: var(--primary-color);
  color: var(--light-text);
}

.page-resources-how-to-choose-safe-online-betting-platform__btn-primary:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Feature Grid */
.page-resources-how-to-choose-safe-online-betting-platform__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-how-to-choose-safe-online-betting-platform__feature-item {
  text-align: left;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-how-to-choose-safe-online-betting-platform__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-resources-how-to-choose-safe-online-betting-platform__card {
  background: var(--card-background-light);
  color: var(--dark-text);
  border: 1px solid var(--border-color);
}

.page-resources-how-to-choose-safe-online-betting-platform__card--dark {
  background: var(--card-background-dark);
  color: var(--light-text);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-resources-how-to-choose-safe-online-betting-platform__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-how-to-choose-safe-online-betting-platform__feature-heading,
.page-resources-how-to-choose-safe-online-betting-platform__criteria-heading,
.page-resources-how-to-choose-safe-online-betting-platform__checklist-heading,
.page-resources-how-to-choose-safe-online-betting-platform__info-heading {
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-resources-how-to-choose-safe-online-betting-platform__card--dark .page-resources-how-to-choose-safe-online-betting-platform__feature-heading,
.page-resources-how-to-choose-safe-online-betting-platform__card--dark .page-resources-how-to-choose-safe-online-betting-platform__criteria-heading,
.page-resources-how-to-choose-safe-online-betting-platform__card--dark .page-resources-how-to-choose-safe-online-betting-platform__info-heading {
  color: var(--secondary-color);
}

/* Criteria List */
.page-resources-how-to-choose-safe-online-betting-platform__criteria-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-how-to-choose-safe-online-betting-platform__criteria-item {
  text-align: left;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Checklist */
.page-resources-how-to-choose-safe-online-betting-platform__checklist {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 900px;
  margin: 40px auto;
}

.page-resources-how-to-choose-safe-online-betting-platform__checklist-item {
  background: var(--card-background-light);
  color: var(--dark-text);
  border: 1px solid var(--border-color);
  margin-bottom: 15px;
  padding: 20px 25px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-how-to-choose-safe-online-betting-platform__checklist-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.page-resources-how-to-choose-safe-online-betting-platform__checklist-item::before {
  content: '✔';
  color: var(--primary-color);
  font-weight: bold;
  margin-right: 15px;
  font-size: 1.2em;
  display: inline-block;
  margin-bottom: 10px;
}

.page-resources-how-to-choose-safe-online-betting-platform__checklist-heading {
  margin-bottom: 10px;
  color: var(--primary-color);
}

/* Info Grid */
.page-resources-how-to-choose-safe-online-betting-platform__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-how-to-choose-safe-online-betting-platform__info-item {
  text-align: left;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-how-to-choose-safe-online-betting-platform__info-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Tips List */
.page-resources-how-to-choose-safe-online-betting-platform__tips-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 40px auto;
}

.page-resources-how-to-choose-safe-online-betting-platform__tips-item {
  background: var(--card-background-light);
  color: var(--dark-text);
  border: 1px solid var(--border-color);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.page-resources-how-to-choose-safe-online-betting-platform__tips-item:hover {
  background-color: #f0f0f0;
}

.page-resources-how-to-choose-safe-online-betting-platform__tips-item::before {
  content: '•';
  color: var(--secondary-color);
  font-weight: bold;
  margin-right: 10px;
}

/* FAQ Section */
.page-resources-how-to-choose-safe-online-betting-platform__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-resources-how-to-choose-safe-online-betting-platform__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-resources-how-to-choose-safe-online-betting-platform__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-resources-how-to-choose-safe-online-betting-platform__faq-item.active .page-resources-how-to-choose-safe-online-betting-platform__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--card-background-dark);
  border-radius: 0 0 5px 5px;
  color: var(--light-text);
}

.page-resources-how-to-choose-safe-online-betting-platform__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-how-to-choose-safe-online-betting-platform__faq-question:hover {
  background: #3a3a3a;
  border-color: #555;
}

.page-resources-how-to-choose-safe-online-betting-platform__faq-question:active {
  background: #4a4a4a;
}

.page-resources-how-to-choose-safe-online-betting-platform__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--light-text);
  pointer-events: none;
}

.page-resources-how-to-choose-safe-online-betting-platform__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  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-resources-how-to-choose-safe-online-betting-platform__faq-item.active .page-resources-how-to-choose-safe-online-betting-platform__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Optional: rotate for 'X' effect */
}

/* Image responsive */
.page-resources-how-to-choose-safe-online-betting-platform img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-how-to-choose-safe-online-betting-platform {
    padding-top: 100px !important; /* Adjust for fixed header on mobile */
  }

  .page-resources-how-to-choose-safe-online-betting-platform__hero-section {
    padding-top: 10px !important; /* Specific padding for hero section on mobile */
  }

  .page-resources-how-to-choose-safe-online-betting-platform__hero-title {
    font-size: 2.2em;
  }

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

  .page-resources-how-to-choose-safe-online-betting-platform__hero-description,
  .page-resources-how-to-choose-safe-online-betting-platform__paragraph,
  .page-resources-how-to-choose-safe-online-betting-platform__feature-text,
  .page-resources-how-to-choose-safe-online-betting-platform__criteria-text,
  .page-resources-how-to-choose-safe-online-betting-platform__checklist-text,
  .page-resources-how-to-choose-safe-online-betting-platform__info-text,
  .page-resources-how-to-choose-safe-online-betting-platform__tips-item p {
    font-size: 1em;
  }

  .page-resources-how-to-choose-safe-online-betting-platform__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-how-to-choose-safe-online-betting-platform__container,
  .page-resources-how-to-choose-safe-online-betting-platform__feature-grid,
  .page-resources-how-to-choose-safe-online-betting-platform__criteria-list,
  .page-resources-how-to-choose-safe-online-betting-platform__checklist,
  .page-resources-how-to-choose-safe-online-betting-platform__info-grid,
  .page-resources-how-to-choose-safe-online-betting-platform__tips-list,
  .page-resources-how-to-choose-safe-online-betting-platform__faq-list {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-resources-how-to-choose-safe-online-betting-platform__feature-item,
  .page-resources-how-to-choose-safe-online-betting-platform__criteria-item,
  .page-resources-how-to-choose-safe-online-betting-platform__info-item {
    padding: 20px;
  }

  .page-resources-how-to-choose-safe-online-betting-platform__feature-image,
  .page-resources-how-to-choose-safe-online-betting-platform__info-image {
    height: 150px;
  }

  .page-resources-how-to-choose-safe-online-betting-platform__checklist-item {
    padding: 15px 20px;
  }

  .page-resources-how-to-choose-safe-online-betting-platform__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-resources-how-to-choose-safe-online-betting-platform__faq-question h3 {
    font-size: 1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-resources-how-to-choose-safe-online-betting-platform__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-resources-how-to-choose-safe-online-betting-platform__faq-answer {
    padding: 0 15px;
  }
  
  .page-resources-how-to-choose-safe-online-betting-platform__faq-item.active .page-resources-how-to-choose-safe-online-betting-platform__faq-answer {
    padding: 15px !important;
  }

  .page-resources-how-to-choose-safe-online-betting-platform img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}