/* style/resources-safe-responsible-gaming.css */
.page-resources-safe-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 space below fixed header */
}

.page-resources-safe-responsible-gaming__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #000000; /* Fallback for hero section background */
}

.page-resources-safe-responsible-gaming__hero-container {
  position: relative;
  max-width: 1920px; /* Max width for the hero content */
  margin: 0 auto;
}

.page-resources-safe-responsible-gaming__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-resources-safe-responsible-gaming__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  color: #FFFFFF;
  padding: 20px;
  box-sizing: border-box;
}

.page-resources-safe-responsible-gaming__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #FCBC45; /* Login button color for highlight */
  max-width: 900px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-safe-responsible-gaming__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  line-height: 1.5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

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

.page-resources-safe-responsible-gaming__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Main color for text */
  border: 2px solid #FCBC45;
}

.page-resources-safe-responsible-gaming__button--primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

.page-resources-safe-responsible-gaming__button--secondary {
  background-color: transparent;
  color: #FFFFFF; /* Auxiliary color */
  border: 2px solid #FFFFFF;
}

.page-resources-safe-responsible-gaming__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.page-resources-safe-responsible-gaming__content-wrapper {
  background-color: #FFFFFF;
  padding: 40px 20px;
}

.page-resources-safe-responsible-gaming__article-container {
  max-width: 800px; /* Content width for readability */
  margin: 0 auto;
  padding: 0 15px;
}

.page-resources-safe-responsible-gaming__return-link,
.page-resources-safe-responsible-gaming__return-link-bottom {
  margin-bottom: 30px;
  text-align: left;
  font-size: 1em;
}

.page-resources-safe-responsible-gaming__return-link a,
.page-resources-safe-responsible-gaming__return-link-bottom a {
  color: #000000;
  text-decoration: none;
  font-weight: bold;
}

.page-resources-safe-responsible-gaming__return-link a:hover,
.page-resources-safe-responsible-gaming__return-link-bottom a:hover {
  text-decoration: underline;
}

.page-resources-safe-responsible-gaming__article-heading {
  font-size: 2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-resources-safe-responsible-gaming__article-subheading {
  font-size: 1.5em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-resources-safe-responsible-gaming__article p {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.7;
  color: #333333;
}

.page-resources-safe-responsible-gaming__article a {
  color: #000000;
  text-decoration: underline;
}

.page-resources-safe-responsible-gaming__article a:hover {
  color: #FCBC45;
}

.page-resources-safe-responsible-gaming__article-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 100%; /* Ensure images are responsive */
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-resources-safe-responsible-gaming__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-safe-responsible-gaming__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
  line-height: 1.6;
}

.page-resources-safe-responsible-gaming__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 50px;
  text-align: center;
  border-radius: 10px;
  margin-top: 50px;
}

.page-resources-safe-responsible-gaming__cta-title {
  font-size: 2.2em;
  margin-bottom: 15px;
  color: #FCBC45;
}

.page-resources-safe-responsible-gaming__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-safe-responsible-gaming__hero-title {
    font-size: 2.2em;
  }
  .page-resources-safe-responsible-gaming__hero-description {
    font-size: 1em;
  }
  .page-resources-safe-responsible-gaming__article-heading {
    font-size: 1.8em;
  }
  .page-resources-safe-responsible-gaming__article-subheading {
    font-size: 1.3em;
  }
  .page-resources-safe-responsible-gaming__article p,
  .page-resources-safe-responsible-gaming__list-item {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-resources-safe-responsible-gaming__hero-overlay {
    padding: 15px;
  }
  .page-resources-safe-responsible-gaming__hero-title {
    font-size: 1.8em;
  }
  .page-resources-safe-responsible-gaming__hero-description {
    font-size: 0.9em;
  }
  .page-resources-safe-responsible-gaming__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-safe-responsible-gaming__button {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-resources-safe-responsible-gaming__content-wrapper {
    padding: 20px 10px;
  }
  .page-resources-safe-responsible-gaming__article-container {
    padding: 0 10px;
  }
  .page-resources-safe-responsible-gaming__article-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-resources-safe-responsible-gaming__cta-section {
    padding: 30px 20px;
  }
  .page-resources-safe-responsible-gaming__cta-title {
    font-size: 1.8em;
  }
  .page-resources-safe-responsible-gaming__cta-description {
    font-size: 1em;
  }
  /* Mobile content image constraint */
  .page-resources-safe-responsible-gaming img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-resources-safe-responsible-gaming__hero-title {
    font-size: 1.5em;
  }
  .page-resources-safe-responsible-gaming__hero-description {
    font-size: 0.8em;
  }
  .page-resources-safe-responsible-gaming__article-heading {
    font-size: 1.5em;
  }
  .page-resources-safe-responsible-gaming__article-subheading {
    font-size: 1.2em;
  }
}