.page-responsible-gambling {
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #000; /* Matching body background */
  min-height: 100vh;
}

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

.page-responsible-gambling__container--center {
  text-align: center;
}

.page-responsible-gambling__hero-section {
  position: relative;
  overflow: hidden;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(139, 0, 0, 0.85); /* Auxiliary color with transparency */
  color: #ffffff;
}

.page-responsible-gambling__hero-content {
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.page-responsible-gambling__main-title {
  font-size: 3.5em;
  color: #FFD700; /* Main color for title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  font-weight: bold;
}

.page-responsible-gambling__intro-text {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-responsible-gambling__hero-image {
  margin-top: 40px;
  width: 100%;
  max-width: 1000px; /* Constrain hero image width */
  height: auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.page-responsible-gambling__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-responsible-gambling__content-section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

.page-responsible-gambling__content-section:last-of-type {
  border-bottom: none;
}

.page-responsible-gambling__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

.page-responsible-gambling__section-description {
  font-size: 1.1em;
  color: #cccccc;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

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

.page-responsible-gambling__principle-card,
.page-responsible-gambling__tool-card,
.page-responsible-gambling__resource-card {
  background: rgba(255, 215, 0, 0.1); /* Semi-transparent main color for cards */
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gambling__principle-card:hover,
.page-responsible-gambling__tool-card:hover,
.page-responsible-gambling__resource-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.page-responsible-gambling__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-responsible-gambling__card-text {
  font-size: 1em;
  color: #e0e0e0;
}

.page-responsible-gambling__tool-image,
.page-responsible-gambling__resource-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  min-height: 200px; /* Minimum height for content images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling__assessment-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 50px auto;
}

.page-responsible-gambling__assessment-list li {
  background: rgba(139, 0, 0, 0.2); /* Auxiliary color with transparency */
  border: 1px solid rgba(139, 0, 0, 0.5);
  border-left: 5px solid #FFD700; /* Accent with main color */
  padding: 18px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #f5f5f5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling__assessment-conclusion {
  font-size: 1.2em;
  color: #FFD700;
  text-align: center;
  margin-top: 40px;
  font-weight: bold;
}

.page-responsible-gambling__resource-link {
  display: inline-block;
  background-color: #FFD700; /* Main color for links */
  color: #8B0000; /* Auxiliary color for text */\  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.page-responsible-gambling__resource-link:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  color: #5a0000;
  transform: translateY(-2px);
}

.page-responsible-gambling__faq-item {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling__faq-question {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
  cursor: pointer;
  transition: color 0.3s ease;
  font-weight: bold;
}

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

.page-responsible-gambling__faq-answer {
  font-size: 1em;
  color: #e0e0e0;
  display: none; /* Hidden by default */
  padding-top: 10px;
}

.page-responsible-gambling__faq-question--active + .page-responsible-gambling__faq-answer {
  display: block;
}

.page-responsible-gambling__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Main color for CTA */
  color: #8B0000; /* Auxiliary color for text */\  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-responsible-gambling__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

.page-responsible-gambling__cta-button--large {
  padding: 20px 40px;
  font-size: 1.5em;
}

.page-responsible-gambling__secondary-button {
  display: inline-block;
  background-color: transparent;
  border: 2px solid #FFD700;
  color: #FFD700;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 30px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.page-responsible-gambling__secondary-button:hover {
  background-color: #FFD700;
  color: #8B0000;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-responsible-gambling__main-title {
    font-size: 3em;
  }
  .page-responsible-gambling__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-responsible-gambling__main-title {
    font-size: 2.5em;
  }
  .page-responsible-gambling__intro-text {
    font-size: 1em;
  }
  .page-responsible-gambling__section-title {
    font-size: 1.8em;
  }
  .page-responsible-gambling__section-description {
    font-size: 0.95em;
  }
  .page-responsible-gambling__hero-section {
    padding: 60px 15px;
  }
  .page-responsible-gambling__content-section {
    padding: 40px 0;
  }
  .page-responsible-gambling__container {
    padding: 0 15px;
  }
  .page-responsible-gambling__cta-button {
    font-size: 1.1em;
    padding: 12px 25px;
  }
  .page-responsible-gambling__cta-button--large {
    font-size: 1.3em;
    padding: 15px 30px;
  }
  .page-responsible-gambling__principles-grid,
  .page-responsible-gambling__tools-grid,
  .page-responsible-gambling__resource-grid {
    grid-template-columns: 1fr;
  }
  .page-responsible-gambling__tool-image,
  .page-responsible-gambling__resource-image {
    max-width: 100%;
    width: 100%;
    height: auto; /* Ensure images scale correctly */
    min-height: 200px;
  }
  /* Content area images must not cause horizontal scroll */
  .page-responsible-gambling img {
    max-width: 100%;
    height: auto;
  }
  .page-responsible-gambling {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-responsible-gambling__main-title {
    font-size: 2em;
  }
  .page-responsible-gambling__section-title {
    font-size: 1.6em;
  }
  .page-responsible-gambling__principles-grid,
  .page-responsible-gambling__tools-grid,
  .page-responsible-gambling__resource-grid {
    gap: 20px;
  }
  .page-responsible-gambling__principle-card,
  .page-responsible-gambling__tool-card,
  .page-responsible-gambling__resource-card {
    padding: 20px;
  }
}