.page-resources-safe-gaming-tips {
  color: #333333; /* Default text color for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-resources-safe-gaming-tips__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px 40px;
  background-color: #000000;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-resources-safe-gaming-tips__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-resources-safe-gaming-tips__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-safe-gaming-tips__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-resources-safe-gaming-tips__hero-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.page-resources-safe-gaming-tips__button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

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

.page-resources-safe-gaming-tips__button--register:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

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

.page-resources-safe-gaming-tips__button--login:hover {
  background-color: #eacb7c;
  transform: translateY(-2px);
}

.page-resources-safe-gaming-tips__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page-resources-safe-gaming-tips__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background */
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-resources-safe-gaming-tips__content-area {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background-color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

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

.page-resources-safe-gaming-tips__back-link:hover {
  color: #FCBC45;
}

.page-resources-safe-gaming-tips__article-heading {
  font-size: 2.2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-resources-safe-gaming-tips__article-paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #333333;
}

.page-resources-safe-gaming-tips__quote {
  font-style: italic;
  margin: 30px 0;
  padding: 20px 30px;
  border-left: 5px solid #FCBC45;
  background-color: #f9f9f9;
  color: #555555;
  font-size: 1.1em;
}

.page-resources-safe-gaming-tips__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-resources-safe-gaming-tips__feature-card {
  background-color: #f0f0f0;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-safe-gaming-tips__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-resources-safe-gaming-tips__feature-image {
  width: 100%;
  max-width: 300px; /* Constrain image width within card */
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-safe-gaming-tips__feature-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
}

.page-resources-safe-gaming-tips__feature-description {
  font-size: 0.95em;
  color: #555555;
}

.page-resources-safe-gaming-tips__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #333333;
}

.page-resources-safe-gaming-tips__list-item {
  margin-bottom: 10px;
}

.page-resources-safe-gaming-tips__list-item strong {
  color: #000000;
}

.page-resources-safe-gaming-tips__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px 0;
  display: block;
}

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

.page-resources-safe-gaming-tips__cta-title {
  font-size: 2.5em;
  color: #FFFFFF;
  margin-bottom: 15px;
}

.page-resources-safe-gaming-tips__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-resources-safe-gaming-tips__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.page-resources-safe-gaming-tips__button--contact {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-resources-safe-gaming-tips__button--contact:hover {
  background-color: #FFFFFF;
  color: #000000;
  transform: translateY(-2px);
}

.page-resources-safe-gaming-tips__related-resources {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.page-resources-safe-gaming-tips__related-heading {
  font-size: 2em;
  color: #000000;
  margin-bottom: 20px;
}

.page-resources-safe-gaming-tips__related-list {
  list-style: none;
  padding: 0;
}

.page-resources-safe-gaming-tips__related-item a {
  display: block;
  padding: 10px 0;
  color: #000000;
  text-decoration: none;
  border-bottom: 1px dashed #e0e0e0;
  transition: color 0.3s ease;
}

.page-resources-safe-gaming-tips__related-item a:hover {
  color: #FCBC45;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-safe-gaming-tips__hero-title {
    font-size: 3em;
  }
  .page-resources-safe-gaming-tips__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-resources-safe-gaming-tips__hero-section {
    padding: 60px 15px 30px;
  }
  .page-resources-safe-gaming-tips__hero-title {
    font-size: 2.5em;
  }
  .page-resources-safe-gaming-tips__hero-description {
    font-size: 1em;
  }
  .page-resources-safe-gaming-tips__hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .page-resources-safe-gaming-tips__button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-resources-safe-gaming-tips__content-area {
    margin: 20px auto;
    padding: 15px;
  }
  .page-resources-safe-gaming-tips__article-heading {
    font-size: 1.8em;
  }
  .page-resources-safe-gaming-tips__article-paragraph, .page-resources-safe-gaming-tips__list, .page-resources-safe-gaming-tips__quote {
    font-size: 1em;
  }
  .page-resources-safe-gaming-tips__features-grid {
    grid-template-columns: 1fr;
  }
  .page-resources-safe-gaming-tips__cta-title {
    font-size: 2em;
  }
  .page-resources-safe-gaming-tips__cta-buttons {
    flex-direction: column;
  }
  /* Ensure content images do not overflow on mobile */
  .page-resources-safe-gaming-tips__content-image, .page-resources-safe-gaming-tips__feature-image {
    max-width: 100%;
    height: auto;
  }
  /* Constraint for all images within .page-resources-safe-gaming-tips */
  .page-resources-safe-gaming-tips img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-resources-safe-gaming-tips__hero-title {
    font-size: 2em;
  }
  .page-resources-safe-gaming-tips__cta-title {
    font-size: 1.8em;
  }
}