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

.page-resources-online-gambling-safety-guide__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Primary color for hero background */
  color: #FFFFFF;
  padding: 0;
  text-align: center;
}

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

.page-resources-online-gambling-safety-guide__hero-container {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}

.page-resources-online-gambling-safety-guide__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 800px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-resources-online-gambling-safety-guide__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-online-gambling-safety-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-resources-online-gambling-safety-guide__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-resources-online-gambling-safety-guide__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;
  font-size: 1.1em;
}

.page-resources-online-gambling-safety-guide__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-resources-online-gambling-safety-guide__button--register:hover {
  background-color: #F0F0F0;
  color: #000000;
}

.page-resources-online-gambling-safety-guide__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources-online-gambling-safety-guide__button--login:hover {
  background-color: #E0A030;
  color: #000000;
}

.page-resources-online-gambling-safety-guide__content-area {
  max-width: 800px; /* Article content width */
  margin: 40px auto;
  padding: 20px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-resources-online-gambling-safety-guide__back-link:hover {
  color: #FCBC45;
}

.page-resources-online-gambling-safety-guide__back-link--bottom {
  margin-top: 40px;
  text-align: center;
  display: block;
}

.page-resources-online-gambling-safety-guide__article {
  font-size: 1.1em;
  line-height: 1.7;
}

.page-resources-online-gambling-safety-guide__section-title {
  font-size: 2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-resources-online-gambling-safety-guide__sub-section-title {
  font-size: 1.5em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-online-gambling-safety-guide__paragraph {
  margin-bottom: 1em;
}

.page-resources-online-gambling-safety-guide__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-resources-online-gambling-safety-guide__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 1em;
}

.page-resources-online-gambling-safety-guide__list-item {
  margin-bottom: 0.5em;
}

.page-resources-online-gambling-safety-guide__cta-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources-online-gambling-safety-guide__button--secondary {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-resources-online-gambling-safety-guide__button--secondary:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-resources-online-gambling-safety-guide__faq-item {
  background-color: #F8F8F8;
  border-left: 5px solid #FCBC45;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
}

.page-resources-online-gambling-safety-guide__faq-question {
  font-size: 1.2em;
  color: #000000;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-resources-online-gambling-safety-guide__faq-answer {
  font-size: 1em;
  color: #333333;
}

.page-resources-online-gambling-safety-guide__final-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  margin-bottom: 20px;
}

.page-resources-online-gambling-safety-guide__button--primary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources-online-gambling-safety-guide__button--primary:hover {
  background-color: #E0A030;
  border-color: #E0A030;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-online-gambling-safety-guide__hero-title {
    font-size: 2em;
  }

  .page-resources-online-gambling-safety-guide__hero-description {
    font-size: 1em;
  }

  .page-resources-online-gambling-safety-guide__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-online-gambling-safety-guide__button {
    width: 80%;
    margin: 0 auto;
  }

  .page-resources-online-gambling-safety-guide__content-area {
    padding: 15px;
    margin: 20px auto;
  }

  .page-resources-online-gambling-safety-guide__section-title {
    font-size: 1.8em;
  }

  .page-resources-online-gambling-safety-guide__sub-section-title {
    font-size: 1.3em;
  }

  .page-resources-online-gambling-safety-guide__image {
    max-width: 100%;
    height: auto;
  }

  .page-resources-online-gambling-safety-guide__cta-container,
  .page-resources-online-gambling-safety-guide__final-cta {
    flex-direction: column;
    gap: 15px;
  }

  /* CRITICAL: Mobile content area images must be responsive */
  .page-resources-online-gambling-safety-guide img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-resources-online-gambling-safety-guide__hero-title {
    font-size: 1.5em;
  }

  .page-resources-online-gambling-safety-guide__hero-description {
    font-size: 0.9em;
  }

  .page-resources-online-gambling-safety-guide__button {
    padding: 10px 20px;
    font-size: 1em;
  }

  .page-resources-online-gambling-safety-guide__hero-content {
    padding: 15px;
  }
}