.page-resources-online-betting-safety-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Body background from shared.css */
}

.page-resources-online-betting-safety-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-online-betting-safety-guide__hero-section {
  position: relative;
  padding: 120px 0 80px; /* Adjusted padding-top to use header-offset */
  text-align: center;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-online-betting-safety-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-resources-online-betting-safety-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-online-betting-safety-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-online-betting-safety-guide__btn-primary,
.page-resources-online-betting-safety-guide__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;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-online-betting-safety-guide__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-resources-online-betting-safety-guide__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

.page-resources-online-betting-safety-guide__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-online-betting-safety-guide__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87b7;
  border-color: #1e87b7;
}

.page-resources-online-betting-safety-guide__content-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-resources-online-betting-safety-guide__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0;
}

.page-resources-online-betting-safety-guide__sub-section-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-resources-online-betting-safety-guide__paragraph {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-resources-online-betting-safety-guide__paragraph a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-resources-online-betting-safety-guide__image-wrapper {
  text-align: center;
  margin: 30px 0;
  overflow: hidden;
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
}

.page-resources-online-betting-safety-guide__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-online-betting-safety-guide__checklist {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-resources-online-betting-safety-guide__checklist-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-resources-online-betting-safety-guide__checklist-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #26A9E0;
  font-weight: bold;
}

.page-resources-online-betting-safety-guide__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #26A9E0;
  color: #ffffff;
  margin-top: 40px;
  border-radius: 10px;
}

.page-resources-online-betting-safety-guide__cta-title {
  font-size: 2.2em;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-online-betting-safety-guide__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-online-betting-safety-guide__faq-list {
  margin-top: 40px;
}

.page-resources-online-betting-safety-guide__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-online-betting-safety-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #ffffff;
  color: #333333;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-resources-online-betting-safety-guide__faq-question:hover {
  background-color: #f0f0f0;
}

.page-resources-online-betting-safety-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-online-betting-safety-guide__faq-item.active .page-resources-online-betting-safety-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-online-betting-safety-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #f9f9f9;
  color: #555555;
}

.page-resources-online-betting-safety-guide__faq-item.active .page-resources-online-betting-safety-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 20px !important;
}

.page-resources-online-betting-safety-guide__faq-answer p {
  margin-bottom: 0;
}

.page-resources-online-betting-safety-guide__contact-cta {
  padding: 80px 0;
  text-align: center;
  background-color: #000000;
  color: #ffffff;
  margin-top: 60px;
}

.page-resources-online-betting-safety-guide__contact-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-online-betting-safety-guide__contact-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-online-betting-safety-guide__hero-title {
    font-size: 2.8em;
  }
  .page-resources-online-betting-safety-guide__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-online-betting-safety-guide__hero-section {
    padding: var(--header-offset, 120px) 20px 60px; /* Ensure mobile padding-top */
  }
  .page-resources-online-betting-safety-guide__hero-title {
    font-size: 2.2em;
  }
  .page-resources-online-betting-safety-guide__hero-description {
    font-size: 1em;
  }
  .page-resources-online-betting-safety-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-online-betting-safety-guide__btn-primary,
  .page-resources-online-betting-safety-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }
  .page-resources-online-betting-safety-guide__content-section,
  .page-resources-online-betting-safety-guide__cta-section,
  .page-resources-online-betting-safety-guide__contact-cta {
    padding: 40px 0;
  }
  .page-resources-online-betting-safety-guide__section-title {
    font-size: 1.8em;
  }
  .page-resources-online-betting-safety-guide__sub-section-title {
    font-size: 1.5em;
  }
  .page-resources-online-betting-safety-guide__paragraph,
  .page-resources-online-betting-safety-guide__checklist-item {
    font-size: 1em;
  }
  .page-resources-online-betting-safety-guide__cta-title {
    font-size: 1.8em;
  }
  .page-resources-online-betting-safety-guide__contact-title {
    font-size: 2em;
  }
  
  /* Mobile image and container responsiveness */
  .page-resources-online-betting-safety-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-online-betting-safety-guide__image-wrapper,
  .page-resources-online-betting-safety-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }

  .page-resources-online-betting-safety-guide__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-resources-online-betting-safety-guide__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-resources-online-betting-safety-guide__hero-title {
    font-size: 1.8em;
  }
  .page-resources-online-betting-safety-guide__section-title {
    font-size: 1.5em;
  }
  .page-resources-online-betting-safety-guide__cta-title {
    font-size: 1.5em;
  }
  .page-resources-online-betting-safety-guide__contact-title {
    font-size: 1.8em;
  }
}