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

.page-resources-safe-betting-guide__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
}

.page-resources-safe-betting-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.6; /* Slightly dim image to make text pop */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  object-fit: cover;
}

.page-resources-safe-betting-guide__hero-container {
  position: relative;
  z-index: 2;
  padding: 80px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-safe-betting-guide__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-safe-betting-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-resources-safe-betting-guide__button {
  display: inline-block;
  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;
  white-space: nowrap;
}

.page-resources-safe-betting-guide__button--register {
  background-color: #FCBC45; /* Login color for Register button */
  color: #000000; /* Dark text for contrast */
  border: 2px solid #FCBC45;
}

.page-resources-safe-betting-guide__button--register:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-resources-safe-betting-guide__button--login {
  background-color: transparent;
  color: #FFFFFF; /* White text for contrast */
  border: 2px solid #FFFFFF;
}

.page-resources-safe-betting-guide__button--login:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.page-resources-safe-betting-guide__button--promo {
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-resources-safe-betting-guide__button--promo:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-resources-safe-betting-guide__content-area {
  max-width: 800px; /* Content width for readability */
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #FFFFFF;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  margin-top: -60px; /* Overlap with hero section */
  position: relative;
  z-index: 3;
}

.page-resources-safe-betting-guide__article-nav {
  margin-bottom: 30px;
  text-align: right;
}

.page-resources-safe-betting-guide__back-link {
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 15px;
  border: 1px solid #000000;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-safe-betting-guide__back-link:hover {
  background-color: #000000;
  color: #FFFFFF;
}

.page-resources-safe-betting-guide__article-heading {
  font-size: 2.2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-resources-safe-betting-guide__article-paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-safe-betting-guide__article-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-safe-betting-guide__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

.page-resources-safe-betting-guide__cta-buttons--bottom {
  margin-top: 50px;
  border-top: 1px solid #eee;
  padding-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-safe-betting-guide__hero-container {
    padding: 60px 15px;
  }

  .page-resources-safe-betting-guide__main-title {
    font-size: 2.5em;
  }

  .page-resources-safe-betting-guide__hero-description,
  .page-resources-safe-betting-guide__article-paragraph,
  .page-resources-safe-betting-guide__list-item {
    font-size: 1em;
  }

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

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

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

  .page-resources-safe-betting-guide__button {
    width: 100%;
    padding: 12px 20px;
  }
  
  .page-resources-safe-betting-guide__hero-image,
  .page-resources-safe-betting-guide__article-image {
    max-width: 100%;
    height: auto;
  }
  
  .page-resources-safe-betting-guide {
    overflow-x: hidden;
  }
}

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