.page-resources-safe-gambling-tips {
  color: #333333; /* Dark text for default light body background */
}

.page-resources-safe-gambling-tips__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #1A1A1A; /* Auxiliary dark background for hero */
  color: #FFFFFF;
  text-align: center;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-resources-safe-gambling-tips__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
}

.page-resources-safe-gambling-tips__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-resources-safe-gambling-tips__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px;
}

.page-resources-safe-gambling-tips__hero-title {
  font-size: 3.5em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  line-height: 1.2;
}

.page-resources-safe-gambling-tips__hero-description {
  font-size: 1.3em;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-safe-gambling-tips__hero-cta {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #1A1A1A;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-resources-safe-gambling-tips__hero-cta:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-resources-safe-gambling-tips__content-area {
  max-width: 800px; /* Content width for comfortable reading */
  margin: 40px auto;
  padding: 0 20px;
  line-height: 1.7;
  font-size: 1.1em;
}

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

.page-resources-safe-gambling-tips__back-link:hover {
  color: #1A1A1A;
}

.page-resources-safe-gambling-tips__article-heading {
  font-size: 2.5em;
  color: #1A1A1A;
  margin-top: 50px;
  margin-bottom: 25px;
  font-weight: 700;
}

.page-resources-safe-gambling-tips__article-subheading {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-resources-safe-gambling-tips__article-paragraph {
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-resources-safe-gambling-tips__article-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  padding-left: 0;
}

.page-resources-safe-gambling-tips__article-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-resources-safe-gambling-tips__image-container {
  margin: 40px 0;
  text-align: center;
}

.page-resources-safe-gambling-tips__image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px;
}

.page-resources-safe-gambling-tips__inline-link {
  color: #FFD700;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-resources-safe-gambling-tips__inline-link:hover {
  color: #1A1A1A;
}

.page-resources-safe-gambling-tips__cta-section {
  background-color: #1A1A1A;
  color: #FFFFFF;
  padding: 50px 30px;
  margin-top: 60px;
  border-radius: 10px;
  text-align: center;
}

.page-resources-safe-gambling-tips__cta-heading {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-resources-safe-gambling-tips__cta-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-resources-safe-gambling-tips__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A1A1A;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 0 10px 15px 10px;
}

.page-resources-safe-gambling-tips__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources-safe-gambling-tips__cta-button--primary {
  background-color: #FFD700; /* Ensure consistency for primary CTA */
  color: #1A1A1A;
}

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

@media (max-width: 768px) {
  .page-resources-safe-gambling-tips__hero-section {
    padding: 60px 15px;
  }
  .page-resources-safe-gambling-tips__hero-title {
    font-size: 2.5em;
  }
  .page-resources-safe-gambling-tips__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-resources-safe-gambling-tips__hero-cta {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources-safe-gambling-tips__content-area {
    padding: 0 15px;
    font-size: 1em;
  }
  .page-resources-safe-gambling-tips__article-heading {
    font-size: 2em;
  }
  .page-resources-safe-gambling-tips__article-subheading {
    font-size: 1.5em;
  }
  .page-resources-safe-gambling-tips__image-container img {
    max-width: 100%;
    height: auto; /* Prevent overflow on mobile */
    min-width: 200px; /* Enforce minimum image size */
    min-height: 200px;
  }
  .page-resources-safe-gambling-tips__cta-heading {
    font-size: 1.8em;
  }
  .page-resources-safe-gambling-tips__cta-button {
    display: block;
    margin: 10px auto;
  }
  .page-resources-safe-gambling-tips {
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
}

@media (max-width: 480px) {
  .page-resources-safe-gambling-tips__hero-title {
    font-size: 2em;
  }
  .page-resources-safe-gambling-tips__hero-description {
    font-size: 0.9em;
  }
  .page-resources-safe-gambling-tips__article-heading {
    font-size: 1.8em;
  }
  .page-resources-safe-gambling-tips__article-subheading {
    font-size: 1.3em;
  }
}