.page-resources-responsible-gaming-luck {
  color: #333333; /* Default text color for light backgrounds */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #FFFFFF; /* Explicitly setting content area background to white as per 'Background: #FFFFFF' */
}

.page-resources-responsible-gaming-luck__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px; /* Minimum height for hero section */
  text-align: center;
  color: #FFFFFF; /* Text color for hero content over image */
  padding: 40px 20px;
}

.page-resources-responsible-gaming-luck__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-responsible-gaming-luck__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text readability */
  border-radius: 8px;
}

.page-resources-responsible-gaming-luck__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45; /* Using login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-responsible-gaming-luck__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-resources-responsible-gaming-luck__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-responsible-gaming-luck__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-resources-responsible-gaming-luck__btn--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-resources-responsible-gaming-luck__btn--register:hover {
  background-color: #F0F0F0;
  transform: translateY(-2px);
}

.page-resources-responsible-gaming-luck__btn--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources-responsible-gaming-luck__btn--login:hover {
  background-color: #E0A83A;
  transform: translateY(-2px);
}

.page-resources-responsible-gaming-luck__content-area {
  max-width: 800px; /* Content width for comfortable reading */
  margin: 40px auto;
  padding: 0 20px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-resources-responsible-gaming-luck__article-heading {
  font-size: 2.2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.page-resources-responsible-gaming-luck__sub-heading {
  font-size: 1.8em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-responsible-gaming-luck__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-responsible-gaming-luck__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-responsible-gaming-luck__list--ordered {
  list-style: decimal;
}

.page-resources-responsible-gaming-luck__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources-responsible-gaming-luck__image-figure {
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
}

.page-resources-responsible-gaming-luck__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-responsible-gaming-luck__image-caption {
  font-style: italic;
  font-size: 0.9em;
  color: #666666;
  margin-top: 10px;
}

.page-resources-responsible-gaming-luck__call-to-action {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-responsible-gaming-luck__btn--primary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources-responsible-gaming-luck__btn--primary:hover {
  background-color: #E0A83A;
  transform: translateY(-2px);
}

.page-resources-responsible-gaming-luck__btn--secondary {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-resources-responsible-gaming-luck__btn--secondary:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

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

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

  .page-resources-responsible-gaming-luck__article-heading {
    font-size: 1.8em;
  }

  .page-resources-responsible-gaming-luck__sub-heading {
    font-size: 1.4em;
  }

  .page-resources-responsible-gaming-luck__paragraph,
  .page-resources-responsible-gaming-luck__list-item {
    font-size: 1em;
  }

  .page-resources-responsible-gaming-luck__hero-actions,
  .page-resources-responsible-gaming-luck__call-to-action {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-responsible-gaming-luck__btn {
    width: 100%;
    max-width: 280px; /* Limit button width on mobile */
  }

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

  /* Enforce image responsiveness for content area images */
  .page-resources-responsible-gaming-luck img {
    max-width: 100%;
    height: auto;
  }

  /* Ensure hero image respects aspect ratio on smaller screens */
  .page-resources-responsible-gaming-luck__hero-image {
    min-height: 200px; /* Ensure hero image is not too small on mobile */
  }
}

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