.page-responsible-gambling {
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-responsible-gambling__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px);
  background-color: #0d0d0d; /* Dark background for hero text contrast */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.page-responsible-gambling__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.6; /* Slightly dim image for text readability */
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.page-responsible-gambling__hero-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px; /* Ensure hero section has a decent height */
  padding: 60px 20px;
  z-index: 2;
}

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

.page-responsible-gambling__hero-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold accent for title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-responsible-gambling__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-responsible-gambling__hero-button,
.page-responsible-gambling__main-cta-button,
.page-responsible-gambling__self-exclusion-button,
.page-responsible-gambling__final-cta-button {
  display: inline-block;
  background-color: #FFD700; /* Primary gold button */
  color: #8B0000; /* Deep red text for contrast */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-responsible-gambling__hero-button:hover,
.page-responsible-gambling__main-cta-button:hover,
.page-responsible-gambling__self-exclusion-button:hover,
.page-responsible-gambling__final-cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  color: #5a0000;
}

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

.page-responsible-gambling__commitment-section,
.page-responsible-gambling__tools-section,
.page-responsible-gambling__self-exclusion-section,
.page-responsible-gambling__underage-section,
.page-responsible-gambling__support-section,
.page-responsible-gambling__faq-section,
.page-responsible-gambling__final-cta-section {
  padding: 60px 0;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
}

.page-responsible-gambling__commitment-section:nth-of-type(even),
.page-responsible-gambling__tools-section:nth-of-type(even),
.page-responsible-gambling__self-exclusion-section:nth-of-type(even),
.page-responsible-gambling__underage-section:nth-of-type(even),
.page-responsible-gambling__support-section:nth-of-type(even),
.page-responsible-gambling__faq-section:nth-of-type(even),
.page-responsible-gambling__final-cta-section:nth-of-type(even) {
  background-color: #f9f9f9;
}

.page-responsible-gambling__commitment-title,
.page-responsible-gambling__tools-title,
.page-responsible-gambling__self-exclusion-title,
.page-responsible-gambling__underage-title,
.page-responsible-gambling__support-title,
.page-responsible-gambling__faq-title,
.page-responsible-gambling__final-cta-title {
  font-size: 2.2em;
  color: #8B0000; /* Deep red for main section titles */
  text-align: center;
  margin-bottom: 40px;
}

.page-responsible-gambling__commitment-text,
.page-responsible-gambling__tools-intro,
.page-responsible-gambling__self-exclusion-text,
.page-responsible-gambling__underage-text,
.page-responsible-gambling__support-intro,
.page-responsible-gambling__support-closing,
.page-responsible-gambling__final-cta-description {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-responsible-gambling__tool-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-responsible-gambling__tool-card:hover {
  transform: translateY(-5px);
}

.page-responsible-gambling__tool-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-responsible-gambling__tool-card-description {
  font-size: 1em;
  color: #555;
}

.page-responsible-gambling__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-responsible-gambling__underage-image {
  width: 600px;
  height: 450px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-responsible-gambling__support-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-responsible-gambling__support-item {
  background-color: #f0f0f0;
  border-left: 5px solid #FFD700; /* Gold accent */
  margin-bottom: 15px;
  padding: 15px 20px;
  font-size: 1.1em;
  border-radius: 5px;
}

.page-responsible-gambling__support-item a {
  color: #8B0000; /* Deep red for external links */
  text-decoration: none;
  font-weight: bold;
}

.page-responsible-gambling__support-item a:hover {
  text-decoration: underline;
}

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

.page-responsible-gambling__faq-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-responsible-gambling__faq-question {
  width: 100%;
  background-color: #FFD700; /* Gold background for FAQ question */
  color: #8B0000; /* Deep red text */
  padding: 18px 25px;
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background-color 0.3s ease;
}

.page-responsible-gambling__faq-question:hover {
  background-color: #e6c200;
}

.page-responsible-gambling__faq-question::after {
  content: '+';
  float: right;
  font-size: 1.5em;
  line-height: 1;
}

.page-responsible-gambling__faq-question.active::after {
  content: '-';
}

.page-responsible-gambling__faq-answer {
  padding: 0 25px;
  background-color: #f9f9f9;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-responsible-gambling__faq-answer.active {
  max-height: 500px; /* Adjust as needed for content */
  padding: 15px 25px;
}

.page-responsible-gambling__faq-answer p {
  margin: 0;
  color: #444;
}

.page-responsible-gambling__final-cta-section {
  text-align: center;
  background-color: #8B0000; /* Deep red background for final CTA */
  color: #ffffff;
  padding: 80px 20px;
}

.page-responsible-gambling__final-cta-title {
  color: #FFD700; /* Gold for final CTA title */
  font-size: 2.5em;
  margin-bottom: 25px;
}

.page-responsible-gambling__final-cta-description {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-responsible-gambling__hero-title {
    font-size: 2.4em;
  }
  .page-responsible-gambling__commitment-title,
  .page-responsible-gambling__tools-title,
  .page-responsible-gambling__self-exclusion-title,
  .page-responsible-gambling__underage-title,
  .page-responsible-gambling__support-title,
  .page-responsible-gambling__faq-title,
  .page-responsible-gambling__final-cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-responsible-gambling__hero-container {
    min-height: 400px;
    padding: 40px 15px;
  }
  .page-responsible-gambling__hero-title {
    font-size: 2em;
  }
  .page-responsible-gambling__hero-description {
    font-size: 1em;
  }
  .page-responsible-gambling__hero-button,
  .page-responsible-gambling__main-cta-button,
  .page-responsible-gambling__self-exclusion-button,
  .page-responsible-gambling__final-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-responsible-gambling__commitment-title,
  .page-responsible-gambling__tools-title,
  .page-responsible-gambling__self-exclusion-title,
  .page-responsible-gambling__underage-title,
  .page-responsible-gambling__support-title,
  .page-responsible-gambling__faq-title,
  .page-responsible-gambling__final-cta-title {
    font-size: 1.8em;
  }
  .page-responsible-gambling__content-area {
    padding: 30px 15px;
  }
  .page-responsible-gambling__tools-grid {
    grid-template-columns: 1fr;
  }
  .page-responsible-gambling__tool-icon {
    width: 150px;
    height: 150px;
  }
  .page-responsible-gambling__underage-image {
    width: 100%;
    height: auto;
  }
  .page-responsible-gambling__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-responsible-gambling__support-item {
    font-size: 1em;
    padding: 12px 15px;
  }
  /* Ensure content area images are responsive and don't overflow */
  .page-responsible-gambling img {
    max-width: 100%;
    height: auto;
  }
  .page-responsible-gambling {
    max-width: 100%;
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-responsible-gambling__hero-title {
    font-size: 1.8em;
  }
  .page-responsible-gambling__commitment-title,
  .page-responsible-gambling__tools-title,
  .page-responsible-gambling__self-exclusion-title,
  .page-responsible-gambling__underage-title,
  .page-responsible-gambling__support-title,
  .page-responsible-gambling__faq-title,
  .page-responsible-gambling__final-cta-title {
    font-size: 1.5em;
  }
  .page-responsible-gambling__hero-button,
  .page-responsible-gambling__main-cta-button,
  .page-responsible-gambling__self-exclusion-button,
  .page-responsible-gambling__final-cta-button {
    font-size: 0.9em;
    padding: 10px 20px;
  }
}