.page-resources-secure-gaming-tips {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

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

.page-resources-secure-gaming-tips__hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 20px;
}

.page-resources-secure-gaming-tips__hero-title {
  font-size: 3em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-secure-gaming-tips__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-resources-secure-gaming-tips__content-area {
  padding: 60px 20px;
}

.page-resources-secure-gaming-tips__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-resources-secure-gaming-tips__dark-bg {
  background-color: var(--dark-bg-1, #0d0d0d);
  color: #ffffff;
}

.page-resources-secure-gaming-tips__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-resources-secure-gaming-tips__text-dark {
  color: #333333;
}

.page-resources-secure-gaming-tips__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-resources-secure-gaming-tips__subtitle {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit;
}

.page-resources-secure-gaming-tips__paragraph {
  margin-bottom: 15px;
  color: inherit;
}

.page-resources-secure-gaming-tips__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-resources-secure-gaming-tips__list-item {
  margin-bottom: 10px;
  color: inherit;
}

.page-resources-secure-gaming-tips__btn-primary,
.page-resources-secure-gaming-tips__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;
  margin: 10px;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-secure-gaming-tips__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-secure-gaming-tips__btn-primary:hover {
  background-color: #1e87b3;
  border-color: #1e87b3;
}

.page-resources-secure-gaming-tips__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-secure-gaming-tips__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-secure-gaming-tips__cta-buttons {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.page-resources-secure-gaming-tips__cta-buttons--center {
  justify-content: center;
}

.page-resources-secure-gaming-tips__image-text-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-resources-secure-gaming-tips__image-text-layout--reverse {
  flex-direction: row-reverse;
}

.page-resources-secure-gaming-tips__image-left,
.page-resources-secure-gaming-tips__image-right {
  flex: 1;
  min-width: 200px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  max-width: 100%; /* Ensure images are responsive */
  height: auto;
}

.page-resources-secure-gaming-tips__text-content {
  flex: 1;
}

/* FAQ Section */
.page-resources-secure-gaming-tips__faq-section {
  padding: 60px 20px;
}

.page-resources-secure-gaming-tips__faq-list {
  margin-top: 30px;
}

.page-resources-secure-gaming-tips__faq-item {
  background-color: #f8f8f8; /* Light background for FAQ items */
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-secure-gaming-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  background-color: #ffffff; /* White background for question */
  transition: background-color 0.3s ease;
}

.page-resources-secure-gaming-tips__faq-question:hover {
  background-color: #f0f0f0;
}

.page-resources-secure-gaming-tips__faq-title {
  font-size: 1.1em;
  margin: 0;
  color: #333333; /* Dark text for question */
}

.page-resources-secure-gaming-tips__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-resources-secure-gaming-tips__faq-item.active .page-resources-secure-gaming-tips__faq-toggle {
  transform: rotate(0deg); /* Reset to plus, JS changes to minus */
}

.page-resources-secure-gaming-tips__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #f8f8f8;
}

.page-resources-secure-gaming-tips__faq-item.active .page-resources-secure-gaming-tips__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-resources-secure-gaming-tips__hero-title {
    font-size: 2.5em;
  }

  .page-resources-secure-gaming-tips__section-title {
    font-size: 2em;
  }

  .page-resources-secure-gaming-tips__image-text-layout {
    flex-direction: column;
  }

  .page-resources-secure-gaming-tips__image-text-layout--reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-resources-secure-gaming-tips {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-secure-gaming-tips__hero-section {
    height: 450px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-secure-gaming-tips__hero-title {
    font-size: 2em;
  }

  .page-resources-secure-gaming-tips__hero-description {
    font-size: 1em;
  }

  .page-resources-secure-gaming-tips__content-area,
  .page-resources-secure-gaming-tips__faq-section {
    padding: 30px 15px;
  }

  .page-resources-secure-gaming-tips__section-title {
    font-size: 1.8em;
  }

  .page-resources-secure-gaming-tips__subtitle {
    font-size: 1.4em;
  }

  .page-resources-secure-gaming-tips__btn-primary,
  .page-resources-secure-gaming-tips__btn-secondary {
    width: 100% !important;
    margin: 5px 0;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-secure-gaming-tips__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-resources-secure-gaming-tips img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-resources-secure-gaming-tips__section,
  .page-resources-secure-gaming-tips__card,
  .page-resources-secure-gaming-tips__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure content area images are not too small */
.page-resources-secure-gaming-tips__image-text-layout img {
  min-width: 200px;
  min-height: 200px;
}

/* No filter on images */
.page-resources-secure-gaming-tips img {
  filter: none;
}