.page-resources-safe-betting-guide {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #FFFFFF;
}

.page-resources-safe-betting-guide__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
}

.page-resources-safe-betting-guide__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3;
  overflow: hidden;
}

.page-resources-safe-betting-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-resources-safe-betting-guide__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

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

.page-resources-safe-betting-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
}

.page-resources-safe-betting-guide__hero-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  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-safe-betting-guide__hero-button:hover {
  background-color: #FFD700;
  transform: translateY(-2px);
}

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

.page-resources-safe-betting-guide__back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-safe-betting-guide__back-link:hover {
  color: #FFD700;
}

.page-resources-safe-betting-guide__article-heading {
  font-size: 2.2em;
  color: #000000;
  margin-top: 50px;
  margin-bottom: 25px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-resources-safe-betting-guide__article-subheading {
  font-size: 1.6em;
  color: #333333;
  margin-top: 40px;
  margin-bottom: 15px;
}

.page-resources-safe-betting-guide__article-paragraph {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #444444;
}

.page-resources-safe-betting-guide__article-image {
  width: 100%;
  height: auto;
  max-width: 700px; /* Ensure images are not smaller than 200px and responsive */
  min-width: 200px;
  min-height: 200px;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-safe-betting-guide__article-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-resources-safe-betting-guide__article-button:hover {
  background-color: #333333;
  transform: translateY(-1px);
}

.page-resources-safe-betting-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.page-resources-safe-betting-guide__cta-button {
  display: inline-block;
  padding: 18px 35px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-safe-betting-guide__cta-button--register {
  background-color: #FCBC45;
  color: #000000;
}

.page-resources-safe-betting-guide__cta-button--register:hover {
  background-color: #FFD700;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-safe-betting-guide__cta-button--login {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #FCBC45;
}

.page-resources-safe-betting-guide__cta-button--login:hover {
  background-color: #333333;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

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

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

  .page-resources-safe-betting-guide__hero-content {
    padding: 60px 15px;
  }

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

  .page-resources-safe-betting-guide__article-heading {
    font-size: 1.8em;
    margin-top: 40px;
  }

  .page-resources-safe-betting-guide__article-subheading {
    font-size: 1.4em;
    margin-top: 30px;
  }

  .page-resources-safe-betting-guide__article-paragraph {
    font-size: 0.95em;
  }

  .page-resources-safe-betting-guide__article-image {
    max-width: 100%; /* Ensure mobile images are responsive */
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-resources-safe-betting-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-safe-betting-guide__cta-button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-resources-safe-betting-guide {
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
  }
}

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

  .page-resources-safe-betting-guide__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-resources-safe-betting-guide__article-heading {
    font-size: 1.6em;
  }

  .page-resources-safe-betting-guide__article-subheading {
    font-size: 1.2em;
  }
}