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

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

.page-responsible-gambling-tools__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0A2E36; /* Dark background for hero text overlay */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-responsible-gambling-tools__hero-image {
  width: 100%;
  height: auto;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Subtle overlay */
}

.page-responsible-gambling-tools__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.page-responsible-gambling-tools__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Accent color for title */
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-responsible-gambling-tools__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-responsible-gambling-tools__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-responsible-gambling-tools__button {
  display: inline-block;
  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;
  white-space: nowrap;
}

.page-responsible-gambling-tools__button--primary {
  background-color: #FFD700; /* Accent color */
  color: #0A2E36; /* Main dark color */
  border: 2px solid #FFD700;
}

.page-responsible-gambling-tools__button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-responsible-gambling-tools__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Accent color */
  border: 2px solid #FFD700;
}

.page-responsible-gambling-tools__button--secondary:hover {
  background-color: #FFD700;
  color: #0A2E36;
}

.page-responsible-gambling-tools__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-responsible-gambling-tools__section-title {
  font-size: 2.5em;
  color: #0A2E36; /* Main dark color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-responsible-gambling-tools__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-tools__section-subtitle {
  font-size: 1.3em;
  text-align: center;
  color: #555555;
  margin-bottom: 60px;
}

.page-responsible-gambling-tools__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-responsible-gambling-tools__text-content--note {
  font-style: italic;
  color: #666666;
  text-align: center;
}

.page-responsible-gambling-tools__intro-section,
.page-responsible-gambling-tools__guide-section,
.page-responsible-gambling-tools__awareness-section,
.page-responsible-gambling-tools__faq-section,
.page-responsible-gambling-tools__contact-cta {
  padding: 60px 0;
  background-color: #fcfcfc;
}

.page-responsible-gambling-tools__features-section,
.page-responsible-gambling-tools__support-section {
  padding: 60px 0;
  background-color: #f0f0f0;
}

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

.page-responsible-gambling-tools__feature-card,
.page-responsible-gambling-tools__support-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gambling-tools__feature-card:hover,
.page-responsible-gambling-tools__support-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.page-responsible-gambling-tools__feature-image,
.page-responsible-gambling-tools__support-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

.page-responsible-gambling-tools__card-title {
  font-size: 1.8em;
  color: #0A2E36;
  margin-bottom: 15px;
}

.page-responsible-gambling-tools__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
  text-align: justify;
}

.page-responsible-gambling-tools__ordered-list,
.page-responsible-gambling-tools__unordered-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-responsible-gambling-tools__unordered-list {
  list-style-type: disc;
}

.page-responsible-gambling-tools__ordered-list li,
.page-responsible-gambling-tools__unordered-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-responsible-gambling-tools__ordered-list strong {
  color: #0A2E36;
}

.page-responsible-gambling-tools__cta-block {
  background-color: #0A2E36;
  color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  margin-top: 50px;
}

.page-responsible-gambling-tools__cta-text {
  font-size: 1.4em;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-responsible-gambling-tools__subsection-title {
  font-size: 2em;
  color: #0A2E36;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-responsible-gambling-tools__faq-list {
  margin-top: 40px;
}

.page-responsible-gambling-tools__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
  overflow: hidden;
}

.page-responsible-gambling-tools__faq-question {
  font-size: 1.3em;
  color: #0A2E36;
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-responsible-gambling-tools__faq-question:hover {
  background-color: #f9f9f9;
}

.page-responsible-gambling-tools__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-responsible-gambling-tools__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-responsible-gambling-tools__faq-answer {
  padding: 0 20px 20px;
  font-size: 1.05em;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-responsible-gambling-tools__faq-answer.active {
  max-height: 300px; /* Adjust based on expected content length */
  padding-top: 10px;
}

.page-responsible-gambling-tools__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-responsible-gambling-tools__hero-title {
    font-size: 2.2em;
  }

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

  .page-responsible-gambling-tools__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-responsible-gambling-tools__section-subtitle {
    font-size: 1.1em;
  }

  .page-responsible-gambling-tools__feature-grid,
  .page-responsible-gambling-tools__support-grid {
    grid-template-columns: 1fr;
  }

  .page-responsible-gambling-tools__feature-image,
  .page-responsible-gambling-tools__support-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
  }

  .page-responsible-gambling-tools__card-title {
    font-size: 1.5em;
  }

  .page-responsible-gambling-tools__text-content {
    font-size: 1em;
  }

  .page-responsible-gambling-tools__cta-text {
    font-size: 1.2em;
  }

  .page-responsible-gambling-tools__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Mobile content area image overflow prevention */
  .page-responsible-gambling-tools img {
    max-width: 100%;
    height: auto;
  }
  .page-responsible-gambling-tools {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-responsible-gambling-tools__hero-section {
    padding: 40px 0;
  }
  .page-responsible-gambling-tools__hero-title {
    font-size: 1.8em;
  }
  .page-responsible-gambling-tools__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-responsible-gambling-tools__section-title {
    font-size: 1.5em;
  }
  .page-responsible-gambling-tools__faq-question {
    font-size: 1.1em;
  }
  .page-responsible-gambling-tools__faq-answer {
    font-size: 0.95em;
  }
}