.page-resources-u888-security-responsible-gambling-guide {
  color: #333333; /* Dark text for light body background */
}

.page-resources-u888-security-responsible-gambling-guide__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Ensure hero section has a minimum height */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #000000; /* Dark background for hero content area */
}

.page-resources-u888-security-responsible-gambling-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6;
}

.page-resources-u888-security-responsible-gambling-guide__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 40px;
  color: #FFFFFF;
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent dark overlay for readability */
  border-radius: 10px;
}

.page-resources-u888-security-responsible-gambling-guide__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
}

.page-resources-u888-security-responsible-gambling-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-resources-u888-security-responsible-gambling-guide__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources-u888-security-responsible-gambling-guide__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1em;
}

.page-resources-u888-security-responsible-gambling-guide__button--register {
  background-color: #FFFFFF; /* Custom color for Register */
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-resources-u888-security-responsible-gambling-guide__button--register:hover {
  background-color: #E0E0E0;
  color: #000000;
}

.page-resources-u888-security-responsible-gambling-guide__button--learn-more {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-resources-u888-security-responsible-gambling-guide__button--learn-more:hover {
  background-color: #FFFFFF;
  color: #000000;
}

.page-resources-u888-security-responsible-gambling-guide__content-area {
  max-width: 800px; /* Content width for comfortable reading */
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.8;
  font-size: 1.1em;
  background-color: #FFFFFF; /* White background for content area */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  margin-top: -50px; /* Overlap with hero section slightly */
  position: relative;
  z-index: 3;
}

.page-resources-u888-security-responsible-gambling-guide__article-container {
  padding: 20px;
}

.page-resources-u888-security-responsible-gambling-guide__heading {
  font-size: 2.2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-resources-u888-security-responsible-gambling-guide__sub-heading {
  font-size: 1.6em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-resources-u888-security-responsible-gambling-guide__content-area p {
  margin-bottom: 15px;
  color: #333333;
}

.page-resources-u888-security-responsible-gambling-guide__image-wrapper {
  text-align: center;
  margin: 30px 0;
}

.page-resources-u888-security-responsible-gambling-guide__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-resources-u888-security-responsible-gambling-guide__image-caption {
  font-style: italic;
  font-size: 0.9em;
  color: #666666;
  margin-top: 10px;
}

.page-resources-u888-security-responsible-gambling-guide__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
}

.page-resources-u888-security-responsible-gambling-guide__faq-question {
  font-size: 1.2em;
  color: #000000;
  margin-top: 0;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-resources-u888-security-responsible-gambling-guide__faq-question::after {
  content: '+';
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-u888-security-responsible-gambling-guide__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-resources-u888-security-responsible-gambling-guide__faq-answer {
  font-size: 1em;
  color: #555555;
  display: none;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e0e0e0;
}

.page-resources-u888-security-responsible-gambling-guide__faq-answer.show {
  display: block;
}

.page-resources-u888-security-responsible-gambling-guide__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eeeeee;
}

.page-resources-u888-security-responsible-gambling-guide__button--join-now {
  background-color: #FCBC45; /* Custom color for Login/Join */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources-u888-security-responsible-gambling-guide__button--join-now:hover {
  background-color: #E6A73A;
  border-color: #E6A73A;
}

.page-resources-u888-security-responsible-gambling-guide__button--login {
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-resources-u888-security-responsible-gambling-guide__button--login:hover {
  background-color: #333333;
  border-color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-u888-security-responsible-gambling-guide__hero-title {
    font-size: 2.8em;
  }
  .page-resources-u888-security-responsible-gambling-guide__hero-description {
    font-size: 1.1em;
  }
  .page-resources-u888-security-responsible-gambling-guide__heading {
    font-size: 2em;
  }
  .page-resources-u888-security-responsible-gambling-guide__sub-heading {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-resources-u888-security-responsible-gambling-guide__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
  }
  .page-resources-u888-security-responsible-gambling-guide__hero-content {
    padding: 30px 20px;
  }
  .page-resources-u888-security-responsible-gambling-guide__hero-title {
    font-size: 2.2em;
  }
  .page-resources-u888-security-responsible-gambling-guide__hero-description {
    font-size: 1em;
  }
  .page-resources-u888-security-responsible-gambling-guide__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-u888-security-responsible-gambling-guide__button {
    width: 100%;
    max-width: 280px;
  }
  .page-resources-u888-security-responsible-gambling-guide__content-area {
    padding: 20px 15px;
    margin-top: -30px;
  }
  .page-resources-u888-security-responsible-gambling-guide__heading {
    font-size: 1.8em;
  }
  .page-resources-u888-security-responsible-gambling-guide__sub-heading {
    font-size: 1.3em;
  }
  .page-resources-u888-security-responsible-gambling-guide__article-container p {
    font-size: 1em;
  }
  .page-resources-u888-security-responsible-gambling-guide__faq-question {
    font-size: 1.1em;
  }
  .page-resources-u888-security-responsible-gambling-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-u888-security-responsible-gambling-guide__content-area img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-resources-u888-security-responsible-gambling-guide__hero-title {
    font-size: 1.8em;
  }
  .page-resources-u888-security-responsible-gambling-guide__hero-description {
    font-size: 0.9em;
  }
  .page-resources-u888-security-responsible-gambling-guide__heading {
    font-size: 1.5em;
  }
  .page-resources-u888-security-responsible-gambling-guide__sub-heading {
    font-size: 1.2em;
  }
}