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

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

.page-responsible-gambling__hero {
  background: linear-gradient(135deg, #003366 0%, #001a33 100%); /* Darker blue gradient */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-responsible-gambling__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract_pattern,geometric,subtle_texture]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-responsible-gambling__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  position: relative;
  z-index: 1;
}

.page-responsible-gambling__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  position: relative;
  z-index: 1;
}

.page-responsible-gambling__section {
  padding: 60px 0;
}

.page-responsible-gambling__section:nth-of-type(even) {
  background-color: #eef4f8; /* Light blue-grey for alternating sections */
}

.page-responsible-gambling__section-title {
  font-size: 2.5em;
  color: #003366; /* Primary brand color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-responsible-gambling__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFCC00; /* Secondary brand color */
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-responsible-gambling__description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-responsible-gambling__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-responsible-gambling__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-responsible-gambling__text-content {
  flex: 1;
  min-width: 300px;
}

.page-responsible-gambling__image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-responsible-gambling__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-responsible-gambling__list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.page-responsible-gambling__list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-responsible-gambling__list li::before {
  content: '✓';
  color: #FFCC00; /* Secondary brand color */
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-responsible-gambling__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.page-responsible-gambling__btn--primary {
  background-color: #FFCC00; /* Secondary brand color */
  color: #003366; /* Primary brand color for text */
}

.page-responsible-gambling__btn--primary:hover {
  background-color: #e6b800;
  transform: translateY(-2px);
}

.page-responsible-gambling__btn--secondary {
  background-color: #003366; /* Primary brand color */
  color: #FFCC00; /* Secondary brand color for text */
  border: 2px solid #FFCC00;
}

.page-responsible-gambling__btn--secondary:hover {
  background-color: #001a33;
  border-color: #e6b800;
  transform: translateY(-2px);
}

.page-responsible-gambling__link {
  color: #003366; /* Primary brand color */
  text-decoration: underline;
}

.page-responsible-gambling__link:hover {
  color: #FFCC00; /* Secondary brand color */
}

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

.page-responsible-gambling__tool-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gambling__tool-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-responsible-gambling__tool-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.page-responsible-gambling__tool-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 15px;
}

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

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

.page-responsible-gambling__card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gambling__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

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

.page-responsible-gambling__card-title a {
  color: #003366;
  text-decoration: none;
}

.page-responsible-gambling__card-title a:hover {
  color: #FFCC00;
}

.page-responsible-gambling__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-responsible-gambling__contact-support {
  background: linear-gradient(90deg, #003366 0%, #001a33 100%);
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.page-responsible-gambling__section-title--light {
  color: #FFCC00;
}

.page-responsible-gambling__section-title--light::after {
  background-color: #ffffff;
}

.page-responsible-gambling__description--light {
  color: #e0e0e0;
}

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

.page-responsible-gambling__faq-question {
  font-size: 1.3em;
  color: #003366;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-responsible-gambling__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5em;
  color: #FFCC00;
  transition: transform 0.3s ease;
}

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

.page-responsible-gambling__faq-answer {
  font-size: 1.1em;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding-top: 0;
}

.page-responsible-gambling__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding-top: 15px;
}

.highlight {
  color: #FFCC00;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-responsible-gambling__hero-title {
    font-size: 2.8em;
  }

  .page-responsible-gambling__section-title {
    font-size: 2em;
  }

  .page-responsible-gambling__content-wrapper {
    flex-direction: column;
  }

  .page-responsible-gambling__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-responsible-gambling__text-content, .page-responsible-gambling__image-wrapper {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-responsible-gambling__hero {
    padding: 60px 0;
  }

  .page-responsible-gambling__hero-title {
    font-size: 2.2em;
  }

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

  .page-responsible-gambling__section {
    padding: 40px 0;
  }

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

  .page-responsible-gambling__tool-grid, .page-responsible-gambling__card-grid {
    grid-template-columns: 1fr;
  }

  .page-responsible-gambling__list li {
    font-size: 1em;
  }

  .page-responsible-gambling__faq-question {
    font-size: 1.2em;
  }

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