.page-resources-online-gambling-safety-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark, so text is light */
  background-color: #000000; /* Fallback, though body is handled by shared */
}

.page-resources-online-gambling-safety-guide__hero-section {
  position: relative;
  width: 100%;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #26A9E0; /* Brand color as background */
  color: #FFFFFF;
  box-sizing: border-box;
}

.page-resources-online-gambling-safety-guide__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-resources-online-gambling-safety-guide__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-resources-online-gambling-safety-guide__hero-content {
  max-width: 900px;
  margin-bottom: 30px;
}

.page-resources-online-gambling-safety-guide__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-resources-online-gambling-safety-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-online-gambling-safety-guide__hero-image-wrapper {
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.page-resources-online-gambling-safety-guide__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-resources-online-gambling-safety-guide__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #FFFFFF;
  color: #333333;
  box-sizing: border-box;
}

.page-resources-online-gambling-safety-guide__container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-resources-online-gambling-safety-guide__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  margin-bottom: 30px;
  text-align: center;
  padding-top: 40px;
}

.page-resources-online-gambling-safety-guide__article-section {
  margin-bottom: 40px;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-resources-online-gambling-safety-guide__article-subtitle {
  font-size: 1.8em;
  color: #333333;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-resources-online-gambling-safety-guide__article-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
}

.page-resources-online-gambling-safety-guide p {
  margin-bottom: 15px;
  color: #444444;
}

.page-resources-online-gambling-safety-guide__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #444444;
}

.page-resources-online-gambling-safety-guide__list li {
  margin-bottom: 10px;
}

.page-resources-online-gambling-safety-guide__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources-online-gambling-safety-guide__btn-primary:hover {
  background-color: #1a7bbd;
}

.page-resources-online-gambling-safety-guide__cta-button {
  margin-top: 30px;
}

.page-resources-online-gambling-safety-guide__faq-section {
  margin-top: 40px;
}

.page-resources-online-gambling-safety-guide__faq-item {
  background-color: #f0f0f0;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-resources-online-gambling-safety-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #e8e8e8;
  border-bottom: 1px solid #dcdcdc;
}

.page-resources-online-gambling-safety-guide__faq-question:hover {
  background-color: #e0e0e0;
}

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

.page-resources-online-gambling-safety-guide__faq-item.active .page-resources-online-gambling-safety-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-online-gambling-safety-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-resources-online-gambling-safety-guide__faq-item.active .page-resources-online-gambling-safety-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 20px;
}

.page-resources-online-gambling-safety-guide__faq-answer p {
  margin-bottom: 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-resources-online-gambling-safety-guide__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-online-gambling-safety-guide__hero-title {
    font-size: 2em;
  }

  .page-resources-online-gambling-safety-guide__hero-description {
    font-size: 1em;
  }

  .page-resources-online-gambling-safety-guide__content-area {
    padding: 20px 15px;
  }

  .page-resources-online-gambling-safety-guide__section-title {
    font-size: 2em;
    padding-top: 20px;
  }

  .page-resources-online-gambling-safety-guide__article-subtitle {
    font-size: 1.5em;
  }

  .page-resources-online-gambling-safety-guide__article-section {
    padding: 20px;
  }

  .page-resources-online-gambling-safety-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-online-gambling-safety-guide__hero-image-wrapper,
  .page-resources-online-gambling-safety-guide__article-section,
  .page-resources-online-gambling-safety-guide__container,
  .page-resources-online-gambling-safety-guide__faq-section,
  .page-resources-online-gambling-safety-guide__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-online-gambling-safety-guide__btn-primary,
  .page-resources-online-gambling-safety-guide__cta-button,
  .page-resources-online-gambling-safety-guide a[class*="button"],
  .page-resources-online-gambling-safety-guide 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;
    text-align: center;
  }
  
  .page-resources-online-gambling-safety-guide__cta-buttons,
  .page-resources-online-gambling-safety-guide__button-group,
  .page-resources-online-gambling-safety-guide__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;
    display: flex;
    flex-direction: column;
  }
}