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

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

.page-resources-responsible-gaming-guide__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  background-color: #8B0000; /* Auxiliary color for hero */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure content is not covered by fixed header */
}

.page-resources-responsible-gaming-guide__dark-bg {
  background-color: #8B0000; /* Auxiliary color for dark sections */
  color: #ffffff;
}

.page-resources-responsible-gaming-guide__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for title */
  line-height: 1.2;
}

.page-resources-responsible-gaming-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-resources-responsible-gaming-guide__btn-primary,
.page-resources-responsible-gaming-guide__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;
  border: 2px solid transparent;
  box-sizing: border-box;
}

.page-resources-responsible-gaming-guide__btn-primary {
  background-color: #FFD700; /* Primary brand color */
  color: #8B0000; /* Dark red text for contrast */
  border-color: #FFD700;
}

.page-resources-responsible-gaming-guide__btn-primary:hover {
  background-color: #e6c200;
  color: #8B0000;
}

.page-resources-responsible-gaming-guide__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border-color: #FFD700;
}

.page-resources-responsible-gaming-guide__btn-secondary:hover {
  background-color: #FFD700;
  color: #8B0000;
}

.page-resources-responsible-gaming-guide__content-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Dark background for content sections */
  color: #ffffff;
}

.page-resources-responsible-gaming-guide__content-section:nth-of-type(odd) {
  background-color: #0d0d0d; /* Slightly darker for alternating sections */
}

.page-resources-responsible-gaming-guide__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 40px;
}

.page-resources-responsible-gaming-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-responsible-gaming-guide__text-block strong {
  color: #FFD700;
}

.page-resources-responsible-gaming-guide__text-block a {
  color: #FFD700;
  text-decoration: underline;
}

.page-resources-responsible-gaming-guide__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-responsible-gaming-guide__list {
  list-style: disc;
  padding-left: 30px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-resources-responsible-gaming-guide__list-item strong {
  color: #FFD700;
}

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

.page-resources-responsible-gaming-guide__card {
  background-color: #1a1a1a; /* Dark background for cards */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-resources-responsible-gaming-guide__card-title {
  font-size: 1.5em;
  color: #FFD700; /* Gold for card titles */
  margin-bottom: 15px;
}

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

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

.page-resources-responsible-gaming-guide__faq-section {
  padding: 60px 0;
  background-color: #8B0000; /* Auxiliary color for FAQ section */
  color: #ffffff;
}

.page-resources-responsible-gaming-guide__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-responsible-gaming-guide__faq-item {
  background-color: #1a1a1a; /* Dark background for FAQ items */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-resources-responsible-gaming-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #FFD700; /* Gold for FAQ questions */
  background-color: #2a2a2a;
  transition: background-color 0.3s ease;
}

.page-resources-responsible-gaming-guide__faq-question:hover {
  background-color: #3a3a3a;
}

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

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

.page-resources-responsible-gaming-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-resources-responsible-gaming-guide__faq-item.active .page-resources-responsible-gaming-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 15px 25px;
}

.page-resources-responsible-gaming-guide__faq-answer p {
  margin-bottom: 10px;
}

.page-resources-responsible-gaming-guide__cta-bottom {
  padding: 80px 0;
  text-align: center;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-resources-responsible-gaming-guide__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-resources-responsible-gaming-guide__cta-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

  .page-resources-responsible-gaming-guide__section-title {
    font-size: 2em;
  }
}

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

  .page-resources-responsible-gaming-guide__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header spacing */
  }

  .page-resources-responsible-gaming-guide__hero-title {
    font-size: 2em;
  }

  .page-resources-responsible-gaming-guide__hero-description {
    font-size: 1em;
  }

  .page-resources-responsible-gaming-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-resources-responsible-gaming-guide__btn-primary,
  .page-resources-responsible-gaming-guide__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-responsible-gaming-guide__content-section,
  .page-resources-responsible-gaming-guide__faq-section,
  .page-resources-responsible-gaming-guide__cta-bottom {
    padding: 40px 0;
  }

  .page-resources-responsible-gaming-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-responsible-gaming-guide__text-block,
  .page-resources-responsible-gaming-guide__list-item {
    font-size: 1em;
  }

  .page-resources-responsible-gaming-guide__image,
  .page-resources-responsible-gaming-guide__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-responsible-gaming-guide__cards-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-resources-responsible-gaming-guide__card {
    padding: 20px;
  }

  .page-resources-responsible-gaming-guide__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-resources-responsible-gaming-guide__faq-answer {
    padding: 0 20px;
  }

  .page-resources-responsible-gaming-guide__faq-item.active .page-resources-responsible-gaming-guide__faq-answer {
    padding: 15px 20px;
  }

  .page-resources-responsible-gaming-guide__cta-title {
    font-size: 2em;
  }

  .page-resources-responsible-gaming-guide__cta-text {
    font-size: 1em;
    padding: 0 15px;
  }

  /* Ensure all containers for images/videos/buttons handle overflow */
  .page-resources-responsible-gaming-guide__container,
  .page-resources-responsible-gaming-guide__content-section,
  .page-resources-responsible-gaming-guide__cards-grid,
  .page-resources-responsible-gaming-guide__faq-list,
  .page-resources-responsible-gaming-guide__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}