/* style/resources-safe-responsible-gaming-guide.css */
.page-resources-safe-responsible-gaming-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light background */
  background-color: #ffffff; /* Explicitly set for contrast check */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-safe-responsible-gaming-guide__hero-section {
  position: relative;
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-resources-safe-responsible-gaming-guide__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  max-width: 900px;
  z-index: 2;
}

.page-resources-safe-responsible-gaming-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  z-index: 2;
}

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

.page-resources-safe-responsible-gaming-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative; /* For z-index in hero */
}

.page-resources-safe-responsible-gaming-guide__content-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-resources-safe-responsible-gaming-guide__text-block {
  max-width: 900px;
}

.page-resources-safe-responsible-gaming-guide__section-title {
  font-size: 2em;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: left;
  font-weight: bold;
}

.page-resources-safe-responsible-gaming-guide__subsection-title {
  font-size: 1.5em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: left;
  font-weight: bold;
}

.page-resources-safe-responsible-gaming-guide__paragraph {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #333333;
}

.page-resources-safe-responsible-gaming-guide__content-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-resources-safe-responsible-gaming-guide__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-safe-responsible-gaming-guide__card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-safe-responsible-gaming-guide__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-resources-safe-responsible-gaming-guide__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-resources-safe-responsible-gaming-guide__card-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-safe-responsible-gaming-guide__card-text {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
}

.page-resources-safe-responsible-gaming-guide__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-safe-responsible-gaming-guide__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

.page-resources-safe-responsible-gaming-guide__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-safe-responsible-gaming-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details/summary */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.page-resources-safe-responsible-gaming-guide__faq-question::-webkit-details-marker {
  display: none;
}

.page-resources-safe-responsible-gaming-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-resources-safe-responsible-gaming-guide__faq-item[open] .page-resources-safe-responsible-gaming-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-safe-responsible-gaming-guide__faq-answer {
  padding: 20px 25px;
  font-size: 1.05em;
  color: #555555;
  background-color: #f9f9f9;
}

.page-resources-safe-responsible-gaming-guide__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid transparent;
  margin-top: 20px;
}

.page-resources-safe-responsible-gaming-guide__btn-primary:hover {
  background-color: #1a8cc4;
  transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-safe-responsible-gaming-guide__hero-title {
    font-size: 2.2em;
  }
  .page-resources-safe-responsible-gaming-guide__hero-description {
    font-size: 1.1em;
  }
  .page-resources-safe-responsible-gaming-guide__section-title {
    font-size: 1.8em;
  }
  .page-resources-safe-responsible-gaming-guide__subsection-title {
    font-size: 1.3em;
  }
}

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

  .page-resources-safe-responsible-gaming-guide__hero-section {
    padding: 60px 15px;
  }
  .page-resources-safe-responsible-gaming-guide__hero-title {
    font-size: 1.8em;
  }
  .page-resources-safe-responsible-gaming-guide__hero-description {
    font-size: 1em;
  }
  .page-resources-safe-responsible-gaming-guide__container {
    padding: 0 15px;
  }
  .page-resources-safe-responsible-gaming-guide__content-section {
    padding: 40px 0;
  }
  .page-resources-safe-responsible-gaming-guide__text-block {
    padding: 0 15px;
  }
  .page-resources-safe-responsible-gaming-guide__section-title,
  .page-resources-safe-responsible-gaming-guide__subsection-title {
    text-align: center;
  }

  /* Mobile Image Adaption */
  .page-resources-safe-responsible-gaming-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-safe-responsible-gaming-guide__section,
  .page-resources-safe-responsible-gaming-guide__card,
  .page-resources-safe-responsible-gaming-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-safe-responsible-gaming-guide__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure hero is below header on mobile too */
  }

  /* Mobile Button Adaption */
  .page-resources-safe-responsible-gaming-guide__btn-primary,
  .page-resources-safe-responsible-gaming-guide a[class*="button"],
  .page-resources-safe-responsible-gaming-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;
  }
  .page-resources-safe-responsible-gaming-guide__cta-buttons,
  .page-resources-safe-responsible-gaming-guide__button-group,
  .page-resources-safe-responsible-gaming-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;
  }
  .page-resources-safe-responsible-gaming-guide__feature-grid {
    grid-template-columns: 1fr;
  }
  .page-resources-safe-responsible-gaming-guide__card {
    padding: 25px;
  }
  .page-resources-safe-responsible-gaming-guide__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-resources-safe-responsible-gaming-guide__faq-answer {
    padding: 15px 20px;
    font-size: 1em;
  }
}