.page-resources-responsible-gaming-guide {
  --primary-color: #FFD700;
  --secondary-color: #1A1A1A;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #121212;
  color: var(--text-light); /* Dark body background, so light text */
  background-color: var(--background-dark);
  line-height: 1.6;
  font-family: 'Arial', sans-serif;
}

.page-resources-responsible-gaming-guide__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  box-sizing: border-box;
}

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

.page-resources-responsible-gaming-guide__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: 2;
}

.page-resources-responsible-gaming-guide__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-resources-responsible-gaming-guide__hero-title {
  font-size: 3.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-responsible-gaming-guide__hero-description {
  font-size: 1.2em;
  color: var(--text-light);
  margin-bottom: 30px;
}

.page-resources-responsible-gaming-guide__btn-primary,
.page-resources-responsible-gaming-guide__btn-secondary {
  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, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-responsible-gaming-guide__btn-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
}

.page-resources-responsible-gaming-guide__btn-primary:hover {
  background-color: #e6c200;
  color: var(--secondary-color);
  border-color: #e6c200;
}

.page-resources-responsible-gaming-guide__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  margin-left: 15px;
}

.page-resources-responsible-gaming-guide__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
}

.page-resources-responsible-gaming-guide__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-resources-responsible-gaming-guide__container {
  width: 100%;
  box-sizing: border-box;
}

.page-resources-responsible-gaming-guide__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-resources-responsible-gaming-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-light);
  text-align: justify;
}

.page-resources-responsible-gaming-guide__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources-responsible-gaming-guide__card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--text-light);
}

.page-resources-responsible-gaming-guide__card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-resources-responsible-gaming-guide__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Min size for images */
  min-height: 200px; /* Min size for images */
}

.page-resources-responsible-gaming-guide__card-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-resources-responsible-gaming-guide__card-text {
  font-size: 1em;
  color: var(--text-light);
  flex-grow: 1;
}

.page-resources-responsible-gaming-guide__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-resources-responsible-gaming-guide__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources-responsible-gaming-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-resources-responsible-gaming-guide__faq-list {
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-resources-responsible-gaming-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-responsible-gaming-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--primary-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-resources-responsible-gaming-guide__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-resources-responsible-gaming-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-responsible-gaming-guide__faq-item.active .page-resources-responsible-gaming-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-responsible-gaming-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-light);
  font-size: 1em;
}

.page-resources-responsible-gaming-guide__faq-item.active .page-resources-responsible-gaming-guide__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 25px;
}

.page-resources-responsible-gaming-guide__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

.page-resources-responsible-gaming-guide a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-resources-responsible-gaming-guide a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-responsible-gaming-guide__hero-title {
    font-size: 3em;
  }
  .page-resources-responsible-gaming-guide__hero-description {
    font-size: 1.1em;
  }
  .page-resources-responsible-gaming-guide__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-responsible-gaming-guide {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-responsible-gaming-guide__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header */
  }
  .page-resources-responsible-gaming-guide__hero-title {
    font-size: 2.2em;
  }
  .page-resources-responsible-gaming-guide__hero-description {
    font-size: 1em;
  }
  .page-resources-responsible-gaming-guide__content-area {
    padding: 30px 15px;
  }
  .page-resources-responsible-gaming-guide__section-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-resources-responsible-gaming-guide__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources-responsible-gaming-guide__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .page-resources-responsible-gaming-guide__card-image {
    height: 200px;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-resources-responsible-gaming-guide__list {
    margin-left: 20px;
  }
  .page-resources-responsible-gaming-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-responsible-gaming-guide__btn-primary,
  .page-resources-responsible-gaming-guide__btn-secondary {
    width: 100% !important;
    margin-left: 0 !important;
  }
  .page-resources-responsible-gaming-guide__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-resources-responsible-gaming-guide__faq-answer {
    padding: 0 20px;
  }
  .page-resources-responsible-gaming-guide__faq-item.active .page-resources-responsible-gaming-guide__faq-answer {
    padding: 10px 20px;
  }

  /* Mobile image specific overrides */
  .page-resources-responsible-gaming-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-responsible-gaming-guide__section,
  .page-resources-responsible-gaming-guide__card,
  .page-resources-responsible-gaming-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-responsible-gaming-guide__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-resources-responsible-gaming-guide__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-responsible-gaming-guide__hero-title {
    font-size: 1.8em;
  }
  .page-resources-responsible-gaming-guide__section-title {
    font-size: 1.5em;
  }
}