/* style/resources-safe-responsible-gaming.css */
.page-resources-safe-responsible-gaming {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

.page-resources-safe-responsible-gaming__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-resources-safe-responsible-gaming__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  padding-bottom: 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  min-height: 600px;
}

.page-resources-safe-responsible-gaming__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(1, 116, 57, 0.7); /* Dark green overlay */
  z-index: 1;
}

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

.page-resources-safe-responsible-gaming__hero-section .page-resources-safe-responsible-gaming__container {
  position: relative;
  z-index: 2;
}

.page-resources-safe-responsible-gaming__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-safe-responsible-gaming__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

.page-resources-safe-responsible-gaming__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-safe-responsible-gaming__btn-primary,
.page-resources-safe-responsible-gaming__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;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-resources-safe-responsible-gaming__btn-primary {
  background-color: #C30808; /* Custom color for Register */
  color: #FFFF00; /* Custom font color for Register */
  border: 2px solid #C30808;
}

.page-resources-safe-responsible-gaming__btn-primary:hover {
  background-color: #e02a2a;
  border-color: #e02a2a;
}

.page-resources-safe-responsible-gaming__btn-secondary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-resources-safe-responsible-gaming__btn-secondary:hover {
  background-color: #005a2d;
  border-color: #005a2d;
}

.page-resources-safe-responsible-gaming__content-area {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-resources-safe-responsible-gaming__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: #017439;
}

.page-resources-safe-responsible-gaming__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #017439;
}

.page-resources-safe-responsible-gaming__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-resources-safe-responsible-gaming__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  object-fit: cover;
}

.page-resources-safe-responsible-gaming__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-resources-safe-responsible-gaming__list-item {
  background-color: #f9f9f9;
  border-left: 5px solid #017439;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-resources-safe-responsible-gaming__list-title {
  font-size: 1.4em;
  color: #017439;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-resources-safe-responsible-gaming__list-description {
  font-size: 1em;
  color: #333333;
}

.page-resources-safe-responsible-gaming__faq-section {
  padding: 60px 0;
  background-color: #f0f0f0;
  color: #333333; /* Dark text for light background */
}

.page-resources-safe-responsible-gaming__faq-list {
  margin-top: 40px;
}

.page-resources-safe-responsible-gaming__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  overflow: hidden;
}

.page-resources-safe-responsible-gaming__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #017439;
  color: #ffffff;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-resources-safe-responsible-gaming__faq-question:hover {
  background-color: #005a2d;
}

.page-resources-safe-responsible-gaming__faq-title {
  margin: 0;
  font-size: 1.2em;
  color: #ffffff;
}

.page-resources-safe-responsible-gaming__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #ffffff;
}

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

.page-resources-safe-responsible-gaming__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #333333;
  background-color: #ffffff;
}

.page-resources-safe-responsible-gaming__faq-item.active .page-resources-safe-responsible-gaming__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 20px;
}

.page-resources-safe-responsible-gaming__cta-bottom {
  padding: 80px 0;
  text-align: center;
  background-color: #017439;
  color: #ffffff;
}

.page-resources-safe-responsible-gaming__cta-bottom .page-resources-safe-responsible-gaming__section-title {
  color: #ffffff;
}

.page-resources-safe-responsible-gaming__cta-bottom .page-resources-safe-responsible-gaming__paragraph {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.page-resources-safe-responsible-gaming a {
  color: #017439;
  text-decoration: underline;
}

.page-resources-safe-responsible-gaming a:hover {
  color: #005a2d;
}

.page-resources-safe-responsible-gaming__dark-section {
  background-color: #017439;
  color: #ffffff;
}

.page-resources-safe-responsible-gaming__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-safe-responsible-gaming__hero-title {
    font-size: 3em;
  }
}

@media (max-width: 768px) {
  .page-resources-safe-responsible-gaming__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    min-height: 450px;
  }
  .page-resources-safe-responsible-gaming__hero-title {
    font-size: 2.2em;
  }
  .page-resources-safe-responsible-gaming__hero-description {
    font-size: 1em;
  }
  .page-resources-safe-responsible-gaming__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-safe-responsible-gaming__btn-primary,
  .page-resources-safe-responsible-gaming__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
  }
  .page-resources-safe-responsible-gaming__section-title {
    font-size: 2em;
  }
  .page-resources-safe-responsible-gaming__sub-title {
    font-size: 1.5em;
  }
  .page-resources-safe-responsible-gaming__paragraph,
  .page-resources-safe-responsible-gaming__list-description,
  .page-resources-safe-responsible-gaming__faq-answer p {
    font-size: 1em;
  }
  .page-resources-safe-responsible-gaming__list-item {
    padding: 15px;
  }
  .page-resources-safe-responsible-gaming__faq-question {
    padding: 15px;
  }
  .page-resources-safe-responsible-gaming__faq-title {
    font-size: 1em;
  }
  .page-resources-safe-responsible-gaming__faq-answer {
    padding: 0 15px;
  }
  .page-resources-safe-responsible-gaming__faq-item.active .page-resources-safe-responsible-gaming__faq-answer {
    padding: 15px;
  }
  .page-resources-safe-responsible-gaming__content-area,
  .page-resources-safe-responsible-gaming__faq-section,
  .page-resources-safe-responsible-gaming__cta-bottom {
    padding: 40px 0;
  }
  /* Mobile image and video responsiveness */
  .page-resources-safe-responsible-gaming img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-safe-responsible-gaming__container,
  .page-resources-safe-responsible-gaming__cta-buttons,
  .page-resources-safe-responsible-gaming__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}