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

.page-resources-online-betting-safety-guide__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000080; /* Dark blue background for hero content */
  color: #ffffff;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero */
}

.page-resources-online-betting-safety-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.4; /* Slightly dim image for text readability */
}

.page-resources-online-betting-safety-guide__hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.page-resources-online-betting-safety-guide__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-resources-online-betting-safety-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.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: #FFD700; /* Gold button */
  color: #000080; /* Dark blue text on gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-resources-online-betting-safety-guide__hero-button:hover {
  background-color: #e6c200; /* Darker gold on hover */
  transform: translateY(-2px);
}

.page-resources-online-betting-safety-guide__article-section {
  max-width: 800px; /* Optimal width for long article reading */
  margin: 40px auto;
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.page-resources-online-betting-safety-guide__back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: #000080; /* Dark blue for links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-online-betting-safety-guide__back-link:hover {
  color: #FFD700; /* Gold on hover */
}

.page-resources-online-betting-safety-guide__article-heading {
  font-size: 2.2em;
  color: #000080; /* Dark blue for main article headings */
  margin-top: 40px;
  margin-bottom: 25px;
  border-bottom: 3px solid #FFD700; /* Gold underline */
  padding-bottom: 10px;
}

.page-resources-online-betting-safety-guide__sub-heading {
  font-size: 1.8em;
  color: #000080; /* Dark blue for sub-headings */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-online-betting-safety-guide__mini-heading {
  font-size: 1.4em;
  color: #000080; /* Dark blue for mini-headings */
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-resources-online-betting-safety-guide__paragraph {
  font-size: 1em;
  margin-bottom: 1.2em;
  line-height: 1.7;
  color: #333333;
}

.page-resources-online-betting-safety-guide__text-link {
  color: #000080; /* Dark blue for inline text links */
  text-decoration: underline;
  font-weight: bold;
}

.page-resources-online-betting-safety-guide__text-link:hover {
  color: #FFD700; /* Gold on hover for text links */
}

.page-resources-online-betting-safety-guide__image-wrapper {
  text-align: center;
  margin: 30px 0;
}

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

.page-resources-online-betting-safety-guide__call-to-action {
  background-color: #000080; /* Dark blue background for CTA */
  color: #ffffff;
  padding: 50px 30px;
  text-align: center;
  border-radius: 10px;
  margin-top: 60px;
}

.page-resources-online-betting-safety-guide__call-to-action-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for CTA title */
  margin-bottom: 20px;
}

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

.page-resources-online-betting-safety-guide__call-to-action-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #000080; /* Dark blue text on gold button */
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-resources-online-betting-safety-guide__call-to-action-button:hover {
  background-color: #e6c200; /* Darker gold on hover */
  transform: translateY(-2px);
}

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

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

  .page-resources-online-betting-safety-guide__hero-button,
  .page-resources-online-betting-safety-guide__call-to-action-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-resources-online-betting-safety-guide__sub-heading {
    font-size: 1.5em;
  }

  .page-resources-online-betting-safety-guide__mini-heading {
    font-size: 1.2em;
  }

  .page-resources-online-betting-safety-guide__call-to-action-title {
    font-size: 2em;
  }

  .page-resources-online-betting-safety-guide__hero-section {
    min-height: 400px;
  }

  /* Ensure images do not overflow on mobile */
  .page-resources-online-betting-safety-guide__content-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size even on mobile */
    min-height: 200px;
  }
  .page-resources-online-betting-safety-guide__hero-image {
    max-width: 100%;
    height: auto;
  }
}

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

  .page-resources-online-betting-safety-guide__article-section {
    padding: 15px;
  }

  .page-resources-online-betting-safety-guide__call-to-action-title {
    font-size: 1.6em;
  }
}