.page-resources-online-gambling-safety-tips {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

.page-resources-online-gambling-safety-tips__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #0A246A; /* Primary color as background fallback */
}

.page-resources-online-gambling-safety-tips__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-resources-online-gambling-safety-tips__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
  z-index: 10;
}

.page-resources-online-gambling-safety-tips__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #F3C500; /* Auxiliary color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-online-gambling-safety-tips__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.8;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-resources-online-gambling-safety-tips__cta-button {
  display: inline-block;
  background-color: #F3C500; /* Auxiliary color for buttons */
  color: #0A246A; /* Primary color for button text */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  min-width: 200px;
  text-align: center;
}

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

.page-resources-online-gambling-safety-tips__content-area {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.page-resources-online-gambling-safety-tips__article {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-resources-online-gambling-safety-tips__article-heading {
  color: #0A246A; /* Primary color for main headings */
  font-size: 2.2em;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #F3C500;
  padding-bottom: 10px;
}

.page-resources-online-gambling-safety-tips__article-subheading {
  color: #0A246A; /* Primary color for subheadings */
  font-size: 1.6em;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-online-gambling-safety-tips__article-paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-online-gambling-safety-tips__article-image {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
}

.page-resources-online-gambling-safety-tips__call-to-action {
  text-align: center;
  background-color: #0A246A;
  color: #ffffff;
  padding: 40px 20px;
  border-radius: 10px;
  margin-top: 40px;
}

.page-resources-online-gambling-safety-tips__cta-text {
  font-size: 1.5em;
  margin-bottom: 25px;
  color: #f0f0f0;
}

.page-resources-online-gambling-safety-tips__back-link-container {
  text-align: center;
  margin-top: 40px;
  padding-bottom: 20px;
}

.page-resources-online-gambling-safety-tips__back-link {
  color: #0A246A;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-resources-online-gambling-safety-tips__back-link:hover {
  color: #F3C500;
}

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

@media (max-width: 768px) {
  .page-resources-online-gambling-safety-tips__hero-title {
    font-size: 2.5em;
  }
  .page-resources-online-gambling-safety-tips__hero-description {
    font-size: 1em;
  }
  .page-resources-online-gambling-safety-tips__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources-online-gambling-safety-tips__content-area {
    margin: 20px auto;
    padding: 0 15px;
  }
  .page-resources-online-gambling-safety-tips__article {
    padding: 20px;
  }
  .page-resources-online-gambling-safety-tips__article-heading {
    font-size: 1.8em;
    margin-top: 30px;
  }
  .page-resources-online-gambling-safety-tips__article-subheading {
    font-size: 1.4em;
    margin-top: 25px;
  }
  .page-resources-online-gambling-safety-tips__article-paragraph {
    font-size: 1em;
  }
  .page-resources-online-gambling-safety-tips__article-image {
    max-width: 100%;
    height: auto; /* Ensure images scale correctly on mobile */
  }
  .page-resources-online-gambling-safety-tips__cta-text {
    font-size: 1.2em;
  }
  /* Content area images must not cause horizontal scroll */
  .page-resources-online-gambling-safety-tips img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-resources-online-gambling-safety-tips__hero-title {
    font-size: 2em;
  }
  .page-resources-online-gambling-safety-tips__hero-description {
    font-size: 0.9em;
  }
  .page-resources-online-gambling-safety-tips__cta-button {
    width: 100%;
    max-width: 250px;
  }
  .page-resources-online-gambling-safety-tips__article-heading {
    font-size: 1.5em;
  }
  .page-resources-online-gambling-safety-tips__article-subheading {
    font-size: 1.2em;
  }
  .page-resources-online-gambling-safety-tips__hero-content {
    padding: 15px;
  }
}