.page-resources-online-betting-safety-guide {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background from shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-resources-online-betting-safety-guide__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #0A1931; /* Primary brand color for hero */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-resources-online-betting-safety-guide__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
  border-radius: 10px;
  overflow: hidden;
}

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

.page-resources-online-betting-safety-guide__hero-content {
  max-width: 800px;
  z-index: 1;
}

.page-resources-online-betting-safety-guide__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Accent color for title */
  line-height: 1.2;
}

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

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

.page-resources-online-betting-safety-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;
  border: none;
  cursor: pointer;
}

.page-resources-online-betting-safety-guide__button--primary {
  background-color: #FFD700; /* Gold accent for primary action */
  color: #0A1931;
}

.page-resources-online-betting-safety-guide__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources-online-betting-safety-guide__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources-online-betting-safety-guide__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.page-resources-online-betting-safety-guide__article-content {
  padding: 40px 20px;
}

.page-resources-online-betting-safety-guide__article-container {
  max-width: 800px; /* Content width constraint */
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for content background */
  padding: 30px;
  border-radius: 10px;
}

.page-resources-online-betting-safety-guide__section-title {
  font-size: 2em;
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 10px;
}

.page-resources-online-betting-safety-guide__section-title:first-of-type {
  margin-top: 0;
}

.page-resources-online-betting-safety-guide__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-online-betting-safety-guide__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

.page-resources-online-betting-safety-guide__list-item strong {
  color: #FFD700;
}

.page-resources-online-betting-safety-guide__image {
  width: 100%;
  max-width: 800px; /* Max width for content images */
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-resources-online-betting-safety-guide__cta-wrapper {
  text-align: center;
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

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

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

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

  .page-resources-online-betting-safety-guide__article-container {
    padding: 20px;
  }

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

  .page-resources-online-betting-safety-guide__button {
    width: 100%;
    padding: 12px 20px;
  }

  .page-resources-online-betting-safety-guide__hero-actions {
    flex-direction: column;
  }

  /* Mobile content area images must not overflow */
  .page-resources-online-betting-safety-guide__article-content img {
    max-width: 100%;
    height: auto;
  }

  .page-resources-online-betting-safety-guide__article-container {
    max-width: 100%; /* Ensure content doesn't cause horizontal scroll */
    overflow-x: hidden;
  }
}

@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.4em;
  }
}