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

.page-resources-online-gambling-safety__hero-section {
  position: relative;
  background-color: #000000;
  padding: 0;
  overflow: hidden;
}

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

.page-resources-online-gambling-safety__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.7;
  object-fit: cover;
}

.page-resources-online-gambling-safety__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFFFFF;
  max-width: 90%;
  z-index: 1;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

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

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

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

.page-resources-online-gambling-safety__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-online-gambling-safety__button--register {
  background-color: #FCBC45;
  color: #000000;
}

.page-resources-online-gambling-safety__button--register:hover {
  background-color: #e0a53a;
}

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

.page-resources-online-gambling-safety__button--login:hover {
  background-color: #333333;
  color: #FFFFFF;
}

.page-resources-online-gambling-safety__content-area {
  max-width: 800px; /* Optimal reading width for long articles */
  margin: 40px auto;
  padding: 20px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

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

.page-resources-online-gambling-safety__back-link:hover {
  color: #e0a53a;
}

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

.page-resources-online-gambling-safety__sub-section-title {
  font-size: 1.8em;
  color: #000000;
  margin-top: 35px;
  margin-bottom: 20px;
}

.page-resources-online-gambling-safety__paragraph {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #333333;
}

.page-resources-online-gambling-safety__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 25px;
  color: #333333;
}

.page-resources-online-gambling-safety__list-item {
  margin-bottom: 10px;
  font-size: 1.0em;
}

.page-resources-online-gambling-safety__list-item strong {
  color: #000000;
}

.page-resources-online-gambling-safety__list-item a {
  color: #FCBC45;
  text-decoration: none;
}

.page-resources-online-gambling-safety__list-item a:hover {
  text-decoration: underline;
}

.page-resources-online-gambling-safety__image {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  object-fit: cover;
}

.page-resources-online-gambling-safety__call-to-action {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: #000000;
  border-radius: 8px;
  color: #FFFFFF;
}

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

.page-resources-online-gambling-safety__button--support {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
  margin-left: 15px;
}

.page-resources-online-gambling-safety__button--support:hover {
  background-color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-online-gambling-safety__hero-title {
    font-size: 2.2em;
  }
  .page-resources-online-gambling-safety__hero-description {
    font-size: 1.1em;
  }
  .page-resources-online-gambling-safety__section-title {
    font-size: 2em;
  }
  .page-resources-online-gambling-safety__sub-section-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-resources-online-gambling-safety__hero-content {
    padding: 15px;
  }
  .page-resources-online-gambling-safety__hero-title {
    font-size: 1.8em;
  }
  .page-resources-online-gambling-safety__hero-description {
    font-size: 1em;
  }
  .page-resources-online-gambling-safety__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-online-gambling-safety__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-resources-online-gambling-safety__button--support {
    margin-left: 0;
  }
  .page-resources-online-gambling-safety__content-area {
    margin: 20px auto;
    padding: 15px;
  }
  .page-resources-online-gambling-safety__section-title {
    font-size: 1.8em;
  }
  .page-resources-online-gambling-safety__sub-section-title {
    font-size: 1.4em;
  }
  .page-resources-online-gambling-safety__paragraph,
  .page-resources-online-gambling-safety__list-item {
    font-size: 0.95em;
  }
  .page-resources-online-gambling-safety__image {
    max-width: 100%;
    height: auto;
  }
  .page-resources-online-gambling-safety__cta-text {
    font-size: 1.3em;
  }
}

@media (max-width: 480px) {
  .page-resources-online-gambling-safety__hero-title {
    font-size: 1.5em;
  }
  .page-resources-online-gambling-safety__hero-description {
    font-size: 0.9em;
  }
  .page-resources-online-gambling-safety__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-resources-online-gambling-safety__section-title {
    font-size: 1.5em;
  }
  .page-resources-online-gambling-safety__sub-section-title {
    font-size: 1.2em;
  }
  .page-resources-online-gambling-safety__cta-text {
    font-size: 1.1em;
  }
}