.page-resources-responsible-gaming {
  color: #333333; /* Dark text for light body background */
}

.page-resources-responsible-gaming__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #000000; /* Main color for hero background */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero section */
}

.page-resources-responsible-gaming__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6; /* Slightly dim the image to make text more readable */
}

.page-resources-responsible-gaming__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  color: #FFFFFF; /* White text for dark hero background */
  padding: 20px;
}

.page-resources-responsible-gaming__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-resources-responsible-gaming__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-resources-responsible-gaming__hero-cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for CTA */
  color: #000000; /* Dark text for light button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-resources-responsible-gaming__hero-cta-button:hover {
  background-color: #e0a53b;
}

.page-resources-responsible-gaming__content-area {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  line-height: 1.7;
  font-size: 1.05em;
  background-color: #FFFFFF; /* Light background for content area */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-resources-responsible-gaming__back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: #000000; /* Main color for link */
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: color 0.3s ease;
}

.page-resources-responsible-gaming__back-link:hover {
  color: #FCBC45; /* Accent color on hover */
}

.page-resources-responsible-gaming__article-container {
  padding-top: 20px;
}

.page-resources-responsible-gaming__section-title {
  font-size: 2em;
  color: #000000; /* Main color for titles */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FCBC45; /* Accent color for underline */
  padding-bottom: 10px;
}

.page-resources-responsible-gaming__sub-section-title {
  font-size: 1.5em;
  color: #000000; /* Main color for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-responsible-gaming__paragraph {
  margin-bottom: 15px;
}

.page-resources-responsible-gaming__article-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-resources-responsible-gaming__support-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-resources-responsible-gaming__support-item {
  margin-bottom: 10px;
}

.page-resources-responsible-gaming__contact-button {
  display: inline-block;
  background-color: #000000; /* Main color for button */
  color: #FFFFFF; /* White text for dark button */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-resources-responsible-gaming__contact-button:hover {
  background-color: #333333;
}

.page-resources-responsible-gaming__related-resources {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.page-resources-responsible-gaming__resource-list {
  list-style-type: none;
  padding: 0;
}

.page-resources-responsible-gaming__resource-item {
  margin-bottom: 10px;
}

.page-resources-responsible-gaming__resource-item a {
  color: #000000; /* Main color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-responsible-gaming__resource-item a:hover {
  color: #FCBC45; /* Accent color on hover */
}

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

  .page-resources-responsible-gaming__hero-description {
    font-size: 1em;
  }

  .page-resources-responsible-gaming__section-title {
    font-size: 1.8em;
  }

  .page-resources-responsible-gaming__sub-section-title {
    font-size: 1.3em;
  }

  .page-resources-responsible-gaming__content-area {
    margin: 20px auto;
    padding: 15px;
  }

  /* Ensure images do not overflow on mobile */
  .page-resources-responsible-gaming img {
    max-width: 100%;
    height: auto;
  }
}

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

  .page-resources-responsible-gaming__hero-description {
    font-size: 0.95em;
  }

  .page-resources-responsible-gaming__hero-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-resources-responsible-gaming__section-title {
    font-size: 1.5em;
  }

  .page-resources-responsible-gaming__sub-section-title {
    font-size: 1.2em;
  }
}