.page-resources-taya555-responsible-gaming {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #FFFFFF; /* Explicitly set for content area */
}

.page-resources-taya555-responsible-gaming__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF; /* Light text for dark background */
  position: relative;
  overflow: hidden;
}

.page-resources-taya555-responsible-gaming__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-bottom: 30px;
}

.page-resources-taya555-responsible-gaming__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-taya555-responsible-gaming__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-taya555-responsible-gaming__hero-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;
  margin: 0 10px;
  min-width: 150px; /* Ensure buttons are not too small */
}

.page-resources-taya555-responsible-gaming__hero-button--register {
  background-color: #FFFFFF; /* Register button color */
  color: #000000; /* Text color for register button */
}

.page-resources-taya555-responsible-gaming__hero-button--register:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

.page-resources-taya555-responsible-gaming__hero-button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Text color for login button */
}

.page-resources-taya555-responsible-gaming__hero-button--login:hover {
  background-color: #e6a73c;
  transform: translateY(-2px);
}

.page-resources-taya555-responsible-gaming__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-resources-taya555-responsible-gaming__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-resources-taya555-responsible-gaming__content-area {
  max-width: 800px; /* Constrain content width for readability */
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #FFFFFF;
}

.page-resources-taya555-responsible-gaming__back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-taya555-responsible-gaming__back-link:hover {
  color: #FCBC45;
}

.page-resources-taya555-responsible-gaming__article-heading {
  font-size: 2.5em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-resources-taya555-responsible-gaming__article-subheading {
  font-size: 1.8em;
  color: #000000;
  margin-top: 35px;
  margin-bottom: 20px;
}

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

.page-resources-taya555-responsible-gaming__image-container {
  text-align: center;
  margin: 30px 0;
}

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

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

.page-resources-taya555-responsible-gaming__article-list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.page-resources-taya555-responsible-gaming__cta-buttons {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

.page-resources-taya555-responsible-gaming__cta-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;
  margin: 0 10px;
  min-width: 180px;
}

.page-resources-taya555-responsible-gaming__cta-button--contact {
  background-color: #FCBC45; /* Login color for contact */
  color: #000000;
}

.page-resources-taya555-responsible-gaming__cta-button--contact:hover {
  background-color: #e6a73c;
  transform: translateY(-2px);
}

.page-resources-taya555-responsible-gaming__cta-button--back {
  background-color: #000000; /* Main color for back button */
  color: #FFFFFF;
}

.page-resources-taya555-responsible-gaming__cta-button--back:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-taya555-responsible-gaming__hero-section {
    padding: 40px 15px;
  }

  .page-resources-taya555-responsible-gaming__hero-title {
    font-size: 2.2em;
  }

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

  .page-resources-taya555-responsible-gaming__hero-button {
    width: 100%;
    margin: 10px 0;
  }
  
  .page-resources-taya555-responsible-gaming__hero-image-wrapper {
    display: none; /* Hide hero image on mobile for better focus on text */
  }

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

  .page-resources-taya555-responsible-gaming__article-heading {
    font-size: 1.8em;
  }

  .page-resources-taya555-responsible-gaming__article-subheading {
    font-size: 1.4em;
  }

  .page-resources-taya555-responsible-gaming__article-paragraph,
  .page-resources-taya555-responsible-gaming__article-list-item {
    font-size: 0.95em;
  }

  .page-resources-taya555-responsible-gaming__article-image {
    max-width: 100%;
    height: auto;
  }

  .page-resources-taya555-responsible-gaming__cta-button {
    width: 100%;
    margin: 10px 0;
  }
  
  /* Mobile content image constraint */
  .page-resources-taya555-responsible-gaming img {
    max-width: 100%;
    height: auto;
  }
}

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

  .page-resources-taya555-responsible-gaming__article-heading {
    font-size: 1.6em;
  }

  .page-resources-taya555-responsible-gaming__article-subheading {
    font-size: 1.2em;
  }
}