.page-resources-online-betting-safety-guide {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
}

@media (max-width: 768px) {
  .page-resources-online-betting-safety-guide {
    overflow-x: hidden;
  }
}

.page-resources-online-betting-safety-guide__hero-section {
  position: relative;
  text-align: center;
  color: #ffffff;
  padding: 0;
}

.page-resources-online-betting-safety-guide__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-resources-online-betting-safety-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-resources-online-betting-safety-guide__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  z-index: 10;
}

.page-resources-online-betting-safety-guide__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-online-betting-safety-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-online-betting-safety-guide__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color as background */
  color: #000000; /* Dark text for contrast */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-resources-online-betting-safety-guide__hero-button:hover {
  background-color: #e0a030;
}

.page-resources-online-betting-safety-guide__content-area {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-resources-online-betting-safety-guide__back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
}

.page-resources-online-betting-safety-guide__back-link:hover {
  text-decoration: underline;
}

.page-resources-online-betting-safety-guide__article-heading {
  font-size: 2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-resources-online-betting-safety-guide__article-subheading {
  font-size: 1.5em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-online-betting-safety-guide__article-paragraph {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-resources-online-betting-safety-guide__article-image {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-resources-online-betting-safety-guide__article-list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-resources-online-betting-safety-guide__article-list-item {
  margin-bottom: 10px;
}

.page-resources-online-betting-safety-guide__cta-buttons {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

.page-resources-online-betting-safety-guide__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin: 0 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-online-betting-safety-guide__cta-button--register {
  background-color: #000000; /* Primary color as background */
  color: #FFFFFF; /* Register text color */
}

.page-resources-online-betting-safety-guide__cta-button--register:hover {
  background-color: #333333;
}

.page-resources-online-betting-safety-guide__cta-button--login {
  background-color: #FCBC45; /* Login color as background */
  color: #000000; /* Dark text for contrast */
}

.page-resources-online-betting-safety-guide__cta-button--login:hover {
  background-color: #e0a030;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-resources-online-betting-safety-guide__hero-title {
    font-size: 2em;
  }

  .page-resources-online-betting-safety-guide__hero-description {
    font-size: 1em;
  }

  .page-resources-online-betting-safety-guide__hero-button {
    padding: 12px 25px;
    font-size: 0.9em;
  }

  .page-resources-online-betting-safety-guide__content-area {
    margin: 20px auto;
    padding: 15px;
  }

  .page-resources-online-betting-safety-guide__article-heading {
    font-size: 1.8em;
  }

  .page-resources-online-betting-safety-guide__article-subheading {
    font-size: 1.3em;
  }

  .page-resources-online-betting-safety-guide__article-paragraph,
  .page-resources-online-betting-safety-guide__article-list {
    font-size: 1em;
  }

  .page-resources-online-betting-safety-guide__cta-button {
    display: block;
    margin: 15px auto;
    width: 90%;
  }

  .page-resources-online-betting-safety-guide__article-image {
    max-width: 100%;
    height: auto;
  }

  /* Ensure all images within content area are responsive and not too small */
  .page-resources-online-betting-safety-guide img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure content images are not too small */
    min-height: 200px; /* Ensure content images are not too small */
  }
}