.page-index-safe-gaming-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a1a; /* Inherited from shared.css, explicitly set for context */
}

.page-index-safe-gaming-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-index-safe-gaming-guide__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-index-safe-gaming-guide__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-index-safe-gaming-guide__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-index-safe-gaming-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-index-safe-gaming-guide__hero-title .page-index-safe-gaming-guide__logo-link {
  color: #ffffff;
  text-decoration: none;
}

.page-index-safe-gaming-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-safe-gaming-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-index-safe-gaming-guide__btn-primary,
.page-index-safe-gaming-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  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;
  text-align: center;
}

.page-index-safe-gaming-guide__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-index-safe-gaming-guide__btn-primary:hover {
  background-color: #d46c00;
  border-color: #d46c00;
}

.page-index-safe-gaming-guide__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-index-safe-gaming-guide__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a8cc4;
  border-color: #1a8cc4;
}

.page-index-safe-gaming-guide__section {
  padding: 60px 0;
}

.page-index-safe-gaming-guide__heading {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: inherit;
}

.page-index-safe-gaming-guide__sub-heading {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit;
}

.page-index-safe-gaming-guide__text-block p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: inherit;
}

.page-index-safe-gaming-guide__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-index-safe-gaming-guide__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: inherit;
}

.page-index-safe-gaming-guide__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: inherit;
}

.page-index-safe-gaming-guide__faq-list {
  margin-top: 40px;
}

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

.page-index-safe-gaming-guide__faq-item.active {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-index-safe-gaming-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-index-safe-gaming-guide__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

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

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

.page-index-safe-gaming-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-index-safe-gaming-guide__faq-item.active .page-index-safe-gaming-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 20px 20px;
}

.page-index-safe-gaming-guide__faq-answer p {
  margin-bottom: 0;
}

.page-index-safe-gaming-guide__btn-text {
  color: #26A9E0;
  text-decoration: underline;
  font-weight: bold;
  margin-top: 10px;
  display: inline-block;
}

.page-index-safe-gaming-guide__btn-text:hover {
  color: #1a8cc4;
}

.page-index-safe-gaming-guide__cta-final {
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index-safe-gaming-guide__hero-title {
    font-size: 2.8em;
  }

  .page-index-safe-gaming-guide__heading {
    font-size: 2em;
  }

  .page-index-safe-gaming-guide__sub-heading {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-index-safe-gaming-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index-safe-gaming-guide__hero-section {
    padding: 60px 0;
  }

  .page-index-safe-gaming-guide__hero-title {
    font-size: 2.2em;
  }

  .page-index-safe-gaming-guide__hero-description {
    font-size: 1em;
  }

  .page-index-safe-gaming-guide__heading {
    font-size: 1.8em;
  }

  .page-index-safe-gaming-guide__sub-heading {
    font-size: 1.3em;
  }

  .page-index-safe-gaming-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-safe-gaming-guide__btn-primary,
  .page-index-safe-gaming-guide__btn-secondary {
    width: 100%;
    padding: 12px 20px;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-safe-gaming-guide__section,
  .page-index-safe-gaming-guide__card,
  .page-index-safe-gaming-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-index-safe-gaming-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index-safe-gaming-guide__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }
}

/* Ensure content area images are at least 200px wide in CSS, not just HTML attributes */
.page-index-safe-gaming-guide img:not(.page-index-safe-gaming-guide__hero-image) {
  min-width: 200px;
  min-height: 200px;
}