.page-resources-online-gambling-safety-guide {
  color: #ffffff; /* Light text for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-online-gambling-safety-guide__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px; /* Minimum height for hero section */
}

.page-resources-online-gambling-safety-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: 1;
}

.page-resources-online-gambling-safety-guide__hero-container {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  z-index: 2;
}

.page-resources-online-gambling-safety-guide__hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  padding: 40px;
  border-radius: 10px;
  max-width: 800px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-resources-online-gambling-safety-guide__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Auxiliary color for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-resources-online-gambling-safety-guide__hero-button,
.page-resources-online-gambling-safety-guide__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Auxiliary color for buttons */
  color: #0A1931; /* Dark text on light button */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-online-gambling-safety-guide__hero-button:hover,
.page-resources-online-gambling-safety-guide__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-resources-online-gambling-safety-guide__content-area {
  max-width: 800px; /* Optimal width for long-form article reading */
  margin: 40px auto;
  padding: 20px;
  background-color: #0A1931;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

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

.page-resources-online-gambling-safety-guide__back-link:hover {
  color: #e6c200;
}

.page-resources-online-gambling-safety-guide__article-heading {
  font-size: 2.5em;
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 25px;
  line-height: 1.3;
}

.page-resources-online-gambling-safety-guide__article-subheading {
  font-size: 1.8em;
  color: #f0f0f0;
  margin-top: 35px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.page-resources-online-gambling-safety-guide__article-paragraph {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #cccccc;
}

.page-resources-online-gambling-safety-guide__article-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #cccccc;
}

.page-resources-online-gambling-safety-guide__article-list-item {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 10px;
}

.page-resources-online-gambling-safety-guide__article-list-item strong {
  color: #FFD700;
}

.page-resources-online-gambling-safety-guide__article-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  min-width: 200px; /* Minimum image display size */
  min-height: 200px; /* Minimum image display size */
}

.page-resources-online-gambling-safety-guide__cta-wrapper {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 40px;
}

.page-resources-online-gambling-safety-guide__related-resources {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-online-gambling-safety-guide__related-heading {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 25px;
  text-align: center;
}

.page-resources-online-gambling-safety-guide__related-list {
  list-style-type: none;
  padding: 0;
  text-align: center;
}

.page-resources-online-gambling-safety-guide__related-list-item {
  margin-bottom: 15px;
}

.page-resources-online-gambling-safety-guide__related-list-item a {
  color: #cccccc;
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-resources-online-gambling-safety-guide__related-list-item a:hover {
  color: #FFD700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-resources-online-gambling-safety-guide__hero-section {
    min-height: 300px;
    padding: 60px 15px;
  }

  .page-resources-online-gambling-safety-guide__hero-content {
    padding: 30px 20px;
    max-width: 95%;
  }

  .page-resources-online-gambling-safety-guide__hero-title {
    font-size: 2em;
  }

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

  .page-resources-online-gambling-safety-guide__hero-button,
  .page-resources-online-gambling-safety-guide__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

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

  .page-resources-online-gambling-safety-guide__article-subheading {
    font-size: 1.4em;
  }

  .page-resources-online-gambling-safety-guide__article-paragraph,
  .page-resources-online-gambling-safety-guide__article-list-item {
    font-size: 0.95em;
  }

  .page-resources-online-gambling-safety-guide__article-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size on mobile */
    min-height: 200px; /* Enforce minimum size on mobile */
  }

  .page-resources-online-gambling-safety-guide__related-heading {
    font-size: 1.6em;
  }

  .page-resources-online-gambling-safety-guide__related-list-item a {
    font-size: 1em;
  }
}