.page-responsible-gambling-resource-links {
  --primary-color: #0A192F;
  --secondary-color: #FFD700;
  --text-light: #F0F0F0;
  --text-dark: #0A192F;
  --background-dark: #0A192F;
  --background-light: #FFFFFF;
  --button-hover-dark: #b39700;
  --button-hover-light: #545e6d;
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

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

.page-responsible-gambling-resource-links__hero-section {
  background: var(--background-dark);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
}

.page-responsible-gambling-resource-links__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-responsible-gambling-resource-links__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: var(--text-light);
}

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

.page-responsible-gambling-resource-links__btn--primary {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-responsible-gambling-resource-links__btn--primary:hover {
  background-color: var(--button-hover-dark);
}

.page-responsible-gambling-resource-links__btn--secondary {
  background-color: var(--background-dark);
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
}

.page-responsible-gambling-resource-links__btn--secondary:hover {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-responsible-gambling-resource-links__content-section,
.page-responsible-gambling-resource-links__support-section,
.page-responsible-gambling-resource-links__tools-section,
.page-responsible-gambling-resource-links__contact-section {
  padding: 60px 0;
  text-align: center;
}

.page-responsible-gambling-resource-links__content-section {
  background-color: var(--background-light);
}

.page-responsible-gambling-resource-links__support-section {
  background-color: #f8f9fa;
}

.page-responsible-gambling-resource-links__tools-section {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-responsible-gambling-resource-links__contact-section {
  background-color: var(--background-light);
}

.page-responsible-gambling-resource-links__section-title {
  font-size: 2.2em;
  margin-bottom: 30px;
  color: var(--text-dark);
}

.page-responsible-gambling-resource-links__tools-section .page-responsible-gambling-resource-links__section-title {
  color: var(--secondary-color);
}

.page-responsible-gambling-resource-links__section-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px;
}

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

.page-responsible-gambling-resource-links__grid-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-responsible-gambling-resource-links__icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.page-responsible-gambling-resource-links__item-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-responsible-gambling-resource-links__item-text {
  color: #555;
}

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

.page-responsible-gambling-resource-links__resource-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-responsible-gambling-resource-links__resource-name {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-responsible-gambling-resource-links__resource-info {
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-responsible-gambling-resource-links__tool-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-responsible-gambling-resource-links__tool-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  font-size: 1.1em;
  color: var(--text-light);
}

.page-responsible-gambling-resource-links__small-icon {
  width: 30px;
  height: 30px;
  margin-right: 15px;
  filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(240deg) brightness(100%) contrast(100%); /* White icon for dark background */
}

.page-responsible-gambling-resource-links__cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 900px;
  margin: 60px auto 0;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.page-responsible-gambling-resource-links__cta-image {
  max-width: 250px;
  height: auto;
}

.page-responsible-gambling-resource-links__cta-content {
  text-align: center;
}

.page-responsible-gambling-resource-links__cta-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-responsible-gambling-resource-links__cta-text {
  font-size: 1.1em;
  color: var(--text-light);
  margin-bottom: 25px;
}

.page-responsible-gambling-resource-links__contact-note {
  margin-top: 20px;
  font-size: 1.1em;
  color: #666;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-responsible-gambling-resource-links__hero-title {
    font-size: 2em;
  }

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

  .page-responsible-gambling-resource-links__grid,
  .page-responsible-gambling-resource-links__resource-list {
    grid-template-columns: 1fr;
  }

  .page-responsible-gambling-resource-links__cta-wrapper {
    flex-direction: column;
    padding: 30px;
  }
}

@media (max-width: 480px) {
  .page-responsible-gambling-resource-links__hero-title {
    font-size: 1.6em;
  }

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

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

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

  .page-responsible-gambling-resource-links__item-title,
  .page-responsible-gambling-resource-links__resource-name {
    font-size: 1.3em;
  }

  .page-responsible-gambling-resource-links__tool-list li {
    font-size: 1em;
  }
}