.page-resources-secure-gaming-tips {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light background */
  background-color: var(--secondary-color, #FFFFFF);
}

.page-resources-secure-gaming-tips__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-secure-gaming-tips__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
}

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

.page-resources-secure-gaming-tips__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability */
}

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

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

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

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

.page-resources-secure-gaming-tips__intro-section,
.page-resources-secure-gaming-tips__tips-section,
.page-resources-secure-gaming-tips__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-resources-secure-gaming-tips__commitment-section,
.page-resources-secure-gaming-tips__cta-section {
  padding: 60px 0;
  background-color: #26A9E0; /* Brand primary color */
  color: #FFFFFF;
}

.page-resources-secure-gaming-tips__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-resources-secure-gaming-tips__card {
  background-color: #FFFFFF;
  color: #333333;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.page-resources-secure-gaming-tips__card--dark-bg {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white on blue background */
  color: #FFFFFF;
  box-shadow: none;
}

.page-resources-secure-gaming-tips__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-resources-secure-gaming-tips__card--dark-bg .page-resources-secure-gaming-tips__card-title {
  color: #FFFFFF;
}

.page-resources-secure-gaming-tips__card-text {
  font-size: 1em;
  line-height: 1.6;
}

.page-resources-secure-gaming-tips__image-content-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 60px;
}

.page-resources-secure-gaming-tips__image-content-block--reverse {
  flex-direction: row-reverse;
}

.page-resources-secure-gaming-tips__content-image {
  flex: 1;
  max-width: 50%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-secure-gaming-tips__text-list {
  flex: 1;
  max-width: 50%;
}

.page-resources-secure-gaming-tips__list-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-resources-secure-gaming-tips__list-title:first-of-type {
  margin-top: 0;
}

.page-resources-secure-gaming-tips__commitment-image {
  display: block;
  margin: 60px auto 0 auto;
  max-width: 80%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-secure-gaming-tips__cta-button {
  display: inline-block;
  background-color: #EA7C07; /* Login color for CTA */
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources-secure-gaming-tips__cta-button:hover {
  background-color: #d16b06;
}

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

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

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

.page-resources-secure-gaming-tips__faq-item {
  background-color: #f9f9f9;
  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: 20px;
  cursor: pointer;
  background-color: #FFFFFF;
  color: #333333;
  font-weight: bold;
  border-bottom: 1px solid #e0e0e0;
}

.page-resources-secure-gaming-tips__faq-item.active .page-resources-secure-gaming-tips__faq-question {
  border-bottom: none;
}

.page-resources-secure-gaming-tips__faq-title {
  margin: 0;
  font-size: 1.2em;
  color: #26A9E0;
}

.page-resources-secure-gaming-tips__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-resources-secure-gaming-tips__faq-item.active .page-resources-secure-gaming-tips__faq-toggle {
  transform: rotate(45deg); /* Changes + to x, or just use '−' */
  content: '−';
}

.page-resources-secure-gaming-tips__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px; /* Initial padding */
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #555555;
}

.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: 20px !important;
}

.page-resources-secure-gaming-tips__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.page-resources-secure-gaming-tips__cta-image {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 90%;
  border-radius: 8px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .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-content-block {
    flex-direction: column;
  }
  .page-resources-secure-gaming-tips__content-image,
  .page-resources-secure-gaming-tips__text-list {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-resources-secure-gaming-tips {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-secure-gaming-tips__hero-section {
    min-height: 400px;
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
  }
  .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__section-title {
    font-size: 1.8em;
    padding-top: 30px;
  }
  .page-resources-secure-gaming-tips__intro-section,
  .page-resources-secure-gaming-tips__tips-section,
  .page-resources-secure-gaming-tips__faq-section,
  .page-resources-secure-gaming-tips__commitment-section,
  .page-resources-secure-gaming-tips__cta-section {
    padding: 40px 0;
  }
  .page-resources-secure-gaming-tips__container {
    padding: 0 15px;
  }
  .page-resources-secure-gaming-tips__feature-grid {
    gap: 20px;
  }
  .page-resources-secure-gaming-tips__card {
    padding: 20px;
  }
  .page-resources-secure-gaming-tips__card-title {
    font-size: 1.3em;
  }
  .page-resources-secure-gaming-tips__image-content-block {
    gap: 20px;
    margin-top: 40px;
  }
  .page-resources-secure-gaming-tips__list-title {
    font-size: 1.2em;
  }

  /* Image responsive rules */
  .page-resources-secure-gaming-tips img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-secure-gaming-tips__hero-image,
  .page-resources-secure-gaming-tips__content-image,
  .page-resources-secure-gaming-tips__commitment-image,
  .page-resources-secure-gaming-tips__cta-image {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-resources-secure-gaming-tips__image-content-block,
  .page-resources-secure-gaming-tips__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

  /* Button responsive rules */
  .page-resources-secure-gaming-tips__cta-button,
  .page-resources-secure-gaming-tips__btn-primary,
  .page-resources-secure-gaming-tips__btn-secondary,
  .page-resources-secure-gaming-tips a[class*="button"],
  .page-resources-secure-gaming-tips a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-secure-gaming-tips__cta-buttons,
  .page-resources-secure-gaming-tips__button-group,
  .page-resources-secure-gaming-tips__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

/* Color contrast fixes/defaults */
.page-resources-secure-gaming-tips__dark-bg {
  color: #ffffff;
  background: #26A9E0;
}

.page-resources-secure-gaming-tips__light-bg {
  color: #333333;
  background: #ffffff;
}

.page-resources-secure-gaming-tips__card {
  background: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-resources-secure-gaming-tips__card--dark-bg {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: none;
}

.page-resources-secure-gaming-tips p,
.page-resources-secure-gaming-tips li {
  color: #555555;
}

.page-resources-secure-gaming-tips__faq-title {
  color: #26A9E0;
}

.page-resources-secure-gaming-tips__faq-item.active .page-resources-secure-gaming-tips__faq-question {
  background-color: #f0f8ff; /* Lighter background for active question */
  color: #26A9E0;
}

.page-resources-secure-gaming-tips__faq-item.active .page-resources-secure-gaming-tips__faq-title {
  color: #26A9E0;
}

.page-resources-secure-gaming-tips__faq-toggle {
  color: #26A9E0;
}

.page-resources-secure-gaming-tips__cta-button {
  background-color: #EA7C07; /* Specific color for main CTA */
  color: #FFFFFF;
}

.page-resources-secure-gaming-tips__cta-button:hover {
  background-color: #d16b06;
}