.page-responsible-gambling {
  color: #333333; /* Dark text for default white body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

@media (max-width: 768px) {
  .page-responsible-gambling {
    padding-top: var(--header-offset, 120px); /* Apply to mobile as well */
  }
}

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

.page-responsible-gambling__hero-section {
  background-color: #f8f8f8;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.page-responsible-gambling__hero-content {
  max-width: 800px;
}

.page-responsible-gambling__hero-title {
  font-size: 3.2em;
  color: #8B0000; /* Deep red for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-responsible-gambling__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold primary color */
  color: #8B0000; /* Deep red text for contrast */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #FFD700;
}

.page-responsible-gambling__hero-button:hover {
  background-color: #8B0000; /* Hover to deep red */
  color: #FFD700; /* Text to gold */
  border-color: #8B0000;
}

.page-responsible-gambling__hero-image {
  width: 100%;
  max-width: 1000px; /* Limit hero image width */
  margin-top: 40px;
}

.page-responsible-gambling__hero-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-responsible-gambling__introduction-section,
.page-responsible-gambling__tools-section,
.page-responsible-gambling__break-section,
.page-responsible-gambling__minor-protection-section,
.page-responsible-gambling__help-section,
.page-responsible-gambling__commitment-section,
.page-responsible-gambling__faq-section,
.page-responsible-gambling__cta-section {
  padding: 60px 0;
}

.page-responsible-gambling__introduction-section,
.page-responsible-gambling__minor-protection-section,
.page-responsible-gambling__commitment-section {
  background-color: #ffffff;
}

.page-responsible-gambling__tools-section,
.page-responsible-gambling__help-section,
.page-responsible-gambling__faq-section {
  background-color: #f0f0f0;
}

.page-responsible-gambling__break-section {
  background-color: #fffaf0; /* Light cream for a softer feel */
}

.page-responsible-gambling__section-title {
  font-size: 2.5em;
  color: #8B0000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-responsible-gambling__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-responsible-gambling__text-block {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: #444444;
  text-align: justify;
}

.page-responsible-gambling__text-block--note {
  font-style: italic;
  text-align: center;
  color: #666666;
}

.page-responsible-gambling__feature-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__feature-card,
.page-responsible-gambling__resource-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-responsible-gambling__feature-card:hover,
.page-responsible-gambling__resource-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-responsible-gambling__feature-icon {
  width: 100%; /* Ensure images are not small icons */
  max-width: 400px; /* Example max-width for content images */
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

.page-responsible-gambling__feature-title,
.page-responsible-gambling__resource-title {
  font-size: 1.6em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-responsible-gambling__feature-description,
.page-responsible-gambling__resource-description {
  font-size: 1em;
  color: #555555;
  text-align: justify;
}

.page-responsible-gambling__info-block {
  background-color: #ffffff;
  padding: 30px;
  border-left: 5px solid #FFD700;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-responsible-gambling__info-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-responsible-gambling__info-description {
  font-size: 1.1em;
  color: #444444;
}

.page-responsible-gambling__action-button,
.page-responsible-gambling__resource-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 20px;
  border: 2px solid #FFD700;
}

.page-responsible-gambling__action-button:hover,
.page-responsible-gambling__resource-button:hover {
  background-color: #8B0000;
  color: #FFD700;
  border-color: #8B0000;
}

.page-responsible-gambling__list-item {
  font-size: 1.1em;
  color: #444444;
  margin-bottom: 15px;
  list-style-type: disc;
  margin-left: 20px;
}

.page-responsible-gambling__resource-button {
  width: auto;
}

.page-responsible-gambling__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.page-responsible-gambling__faq-question {
  font-size: 1.4em;
  color: #8B0000;
  margin-bottom: 10px;
}

.page-responsible-gambling__faq-answer {
  font-size: 1em;
  color: #555555;
}

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

.page-responsible-gambling__cta-title {
  font-size: 2.8em;
  margin-bottom: 25px;
  color: #FFD700; /* Gold title */
}

.page-responsible-gambling__cta-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-responsible-gambling__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #8B0000; /* Deep red text */
  padding: 18px 35px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin: 0 15px 20px 15px;
  border: 2px solid #FFD700;
}

.page-responsible-gambling__cta-button:hover {
  background-color: #ffffff; /* White hover background */
  color: #8B0000; /* Deep red text */
  border-color: #ffffff;
}

.page-responsible-gambling__cta-button--secondary {
  background-color: transparent;
  color: #FFD700;
  border-color: #FFD700;
}

.page-responsible-gambling__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #8B0000;
  border-color: #FFD700;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-responsible-gambling__hero-title {
    font-size: 2.8em;
  }
  .page-responsible-gambling__section-title {
    font-size: 2.2em;
  }
  .page-responsible-gambling__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-responsible-gambling__hero-section {
    flex-direction: column;
    padding: 60px 15px;
  }
  .page-responsible-gambling__hero-title {
    font-size: 2.2em;
  }
  .page-responsible-gambling__hero-description {
    font-size: 1.1em;
  }
  .page-responsible-gambling__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-responsible-gambling__introduction-section,
  .page-responsible-gambling__tools-section,
  .page-responsible-gambling__break-section,
  .page-responsible-gambling__minor-protection-section,
  .page-responsible-gambling__help-section,
  .page-responsible-gambling__commitment-section,
  .page-responsible-gambling__faq-section,
  .page-responsible-gambling__cta-section {
    padding: 40px 0;
  }
  .page-responsible-gambling__content-container {
    padding: 0 15px;
  }
  .page-responsible-gambling__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-responsible-gambling__text-block {
    font-size: 1em;
  }
  .page-responsible-gambling__feature-grid,
  .page-responsible-gambling__resource-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-responsible-gambling__feature-icon img,
  .page-responsible-gambling__hero-image img {
    max-width: 100%;
    height: auto;
  }
  .page-responsible-gambling__feature-title,
  .page-responsible-gambling__resource-title {
    font-size: 1.4em;
  }
  .page-responsible-gambling__info-title {
    font-size: 1.6em;
  }
  .page-responsible-gambling__faq-question {
    font-size: 1.2em;
  }
  .page-responsible-gambling__cta-title {
    font-size: 2em;
  }
  .page-responsible-gambling__cta-description {
    font-size: 1.1em;
  }
  .page-responsible-gambling__cta-button {
    font-size: 1.1em;
    padding: 15px 30px;
    margin: 0 5px 15px 5px;
  }
}

@media (max-width: 480px) {
  .page-responsible-gambling__hero-title {
    font-size: 1.8em;
  }
  .page-responsible-gambling__section-title {
    font-size: 1.6em;
  }
  .page-responsible-gambling__cta-title {
    font-size: 1.8em;
  }
  .page-responsible-gambling__cta-button {
    display: block;
    width: calc(100% - 30px);
    margin: 10px auto;
  }
}

/* Ensure all content images within .page-responsible-gambling are not small icons */
.page-responsible-gambling img {
  min-width: 200px;
  min-height: 200px;
  max-width: 100%;
  height: auto;
  /* No filter properties to change image color */
  /* filter: none !important; */
}