/* style/resources-responsible-gambling.css */
.page-resources-responsible-gambling {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

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

.page-resources-responsible-gambling__hero {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); /* Darker blue for better contrast */
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.page-resources-responsible-gambling__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-resources-responsible-gambling__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-responsible-gambling__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 30px;
  color: #e9ecef;
}

.page-resources-responsible-gambling__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.15;
}

.page-resources-responsible-gambling__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(50%);
}

.page-resources-responsible-gambling__section {
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}

.page-resources-responsible-gambling__section:last-of-type {
  border-bottom: none;
}

.page-resources-responsible-gambling__section-title {
  font-size: 2.5em;
  color: #0056b3; /* Darker primary for text */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

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

.page-resources-responsible-gambling__introduction p {
  font-size: 1.1em;
  text-align: justify;
  margin-bottom: 15px;
  color: #495057;
}

.page-resources-responsible-gambling__introduction p strong {
  color: #007bff;
}

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

.page-resources-responsible-gambling__tool-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-responsible-gambling__tool-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-resources-responsible-gambling__tool-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-resources-responsible-gambling__tool-card p {
  color: #555;
  font-size: 1em;
}

.page-resources-responsible-gambling__action-text {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #495057;
}

.page-resources-responsible-gambling__link {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-responsible-gambling__link:hover {
  color: #0056b3;
  text-decoration: underline;
}

.page-resources-responsible-gambling__list {
  list-style: disc inside;
  margin: 20px auto;
  max-width: 800px;
  text-align: left;
  color: #495057;
  font-size: 1.1em;
}

.page-resources-responsible-gambling__list li {
  margin-bottom: 10px;
}

.page-resources-responsible-gambling__list--numbered {
  list-style: decimal inside;
}

.page-resources-responsible-gambling__list--compact li {
  margin-bottom: 5px;
}

.page-resources-responsible-gambling__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-responsible-gambling__image-small-right {
  float: right;
  width: 40%;
  max-width: 400px;
  margin-left: 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-resources-responsible-gambling__help-card {
  background-color: #e9f5ff; /* Lighter blue background */
  border-left: 5px solid #007bff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-resources-responsible-gambling__help-card p {
  color: #495057;
  margin-bottom: 15px;
}

.page-resources-responsible-gambling__help-title {
  font-size: 2em;
  color: #007bff;
  margin-bottom: 20px;
}

.page-resources-responsible-gambling__cta-bottom {
  background-color: #007bff;
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

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

.page-resources-responsible-gambling__cta-bottom .page-resources-responsible-gambling__section-title {
  color: #fff;
}

.page-resources-responsible-gambling__cta-bottom .page-resources-responsible-gambling__section-title::after {
  background-color: #ffc107;
}

.page-resources-responsible-gambling__cta-bottom p {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #e9ecef;
}

.page-resources-responsible-gambling__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-responsible-gambling__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.page-resources-responsible-gambling__button--primary {
  background-color: #ffc107;
  color: #333;
  border-color: #ffc107;
}

.page-resources-responsible-gambling__button--primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  color: #fff;
}

.page-resources-responsible-gambling__button--secondary {
  background-color: transparent;
  color: #ffc107;
  border-color: #ffc107;
}

.page-resources-responsible-gambling__button--secondary:hover {
  background-color: #ffc107;
  color: #007bff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-resources-responsible-gambling__hero-title {
    font-size: 2.5em;
  }

  .page-resources-responsible-gambling__hero-subtitle {
    font-size: 1.2em;
  }

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

  .page-resources-responsible-gambling__grid,
  .page-resources-responsible-gambling__help-grid {
    grid-template-columns: 1fr;
  }

  .page-resources-responsible-gambling__image-small-right {
    float: none;
    width: 100%;
    margin: 30px 0;
  }

  .page-resources-responsible-gambling__cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-resources-responsible-gambling__button {
    width: 80%;
    max-width: 300px;
  }
}

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

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

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

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

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

  .page-resources-responsible-gambling__tool-card,
  .page-resources-responsible-gambling__help-card {
    padding: 20px;
  }

  .page-resources-responsible-gambling__tool-title {
    font-size: 1.5em;
  }

  .page-resources-responsible-gambling__introduction p,
  .page-resources-responsible-gambling__list li,
  .page-resources-responsible-gambling__tool-card p,
  .page-resources-responsible-gambling__action-text,
  .page-resources-responsible-gambling__help-card p {
    font-size: 0.95em;
  }
}