/* style/responsible-gambling.css */
.page-responsible-gambling {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
  padding-top: var(--header-offset, 120px);
}

.page-responsible-gambling__content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-responsible-gambling__content-wrapper--center {
  text-align: center;
}

.page-responsible-gambling__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Ensure hero section has a minimum height */
}

.page-responsible-gambling__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.5); /* Darken background image for text readability */
}

.page-responsible-gambling__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-responsible-gambling__hero-title {
  font-size: 2.8em;
  color: #e94560;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-responsible-gambling__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-responsible-gambling__hero-button,
.page-responsible-gambling__button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #e94560;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 10px;
  border: none;
  cursor: pointer;
}

.page-responsible-gambling__hero-button:hover,
.page-responsible-gambling__button:hover {
  background-color: #d13050;
  transform: translateY(-2px);
}

.page-responsible-gambling__button--primary {
  background-color: #e94560;
}

.page-responsible-gambling__button--primary:hover {
  background-color: #d13050;
}

.page-responsible-gambling__button--secondary {
  background-color: #1a1a2e;
  border: 2px solid #e94560;
}

.page-responsible-gambling__button--secondary:hover {
  background-color: #2a2a4e;
  border-color: #d13050;
}

.page-responsible-gambling__section-title {
  font-size: 2.2em;
  color: #e94560;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-responsible-gambling__sub-section-title {
  font-size: 1.6em;
  color: #e94560;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-responsible-gambling__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-responsible-gambling__text-block--center {
  text-align: center;
}

.page-responsible-gambling__tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-responsible-gambling__tool-card {
  background-color: rgba(26, 26, 46, 0.7); /* Main color with transparency */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #e94560;
}

.page-responsible-gambling__card-title {
  font-size: 1.5em;
  color: #e94560;
  margin-bottom: 15px;
}

.page-responsible-gambling__card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-responsible-gambling__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 40px 0;
  display: block; /* Ensure it's a block element */
  max-width: 100%;
  min-width: 200px; /* Enforce min-width for content images */
  min-height: 200px; /* Enforce min-height for content images */
  object-fit: cover;
}

.page-responsible-gambling__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-responsible-gambling__list-item {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-responsible-gambling__list-item strong {
  color: #e94560;
}

.page-responsible-gambling__faq-items {
  margin-top: 30px;
}

.page-responsible-gambling__faq-item {
  background-color: rgba(26, 26, 46, 0.7);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid #e94560;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-responsible-gambling__faq-item:hover {
  background-color: rgba(26, 26, 46, 0.9);
}

.page-responsible-gambling__faq-question {
  font-size: 1.3em;
  color: #e94560;
  margin-bottom: 10px;
  position: relative;
  padding-right: 30px; /* Space for expand/collapse icon */
}

.page-responsible-gambling__faq-question--active {
  /* Style for active question if needed */
}

.page-responsible-gambling__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
  display: none; /* Hidden by default, toggled by JS */
  margin-top: 10px;
}

.page-responsible-gambling__link {
  color: #e94560;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-responsible-gambling__link:hover {
  color: #d13050;
  text-decoration: underline;
}

.page-responsible-gambling__cta-section {
  padding: 60px 20px;
  background: linear-gradient(45deg, #1a1a2e, #0f0f1a);
  border-top: 2px solid #e94560;
  text-align: center;
}

.page-responsible-gambling__cta-buttons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-responsible-gambling__hero-title {
    font-size: 2em;
  }

  .page-responsible-gambling__hero-description {
    font-size: 1em;
  }

  .page-responsible-gambling__section-title {
    font-size: 1.8em;
  }

  .page-responsible-gambling__sub-section-title {
    font-size: 1.4em;
  }

  .page-responsible-gambling__tools-grid {
    grid-template-columns: 1fr;
  }

  .page-responsible-gambling__hero-section {
    padding: 40px 15px;
  }

  .page-responsible-gambling__content-wrapper {
    padding: 15px;
  }

  .page-responsible-gambling__content-image {
    max-width: 100%;
    height: auto; /* Ensure images scale down */
  }

  .page-responsible-gambling__faq-question {
    font-size: 1.2em;
  }
}