.page-responsible-gambling {
  background-color: #F4F7FB;
  color: #1F2D3D;
}

.page-responsible-gambling__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding */
  background-color: #2F6BFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.page-responsible-gambling__hero-image {
  width: 100%;
  max-width: 1920px;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.8); /* Slightly dim the image for better text contrast below */
}

.page-responsible-gambling__hero-content {
  padding: 40px 20px 60px;
  text-align: center;
  max-width: 800px;
  color: #FFFFFF;
  position: relative;
  z-index: 1;
  margin-top: -80px; /* Pull content up slightly over the image, but not *on* it */
  background-color: rgba(47, 107, 255, 0.7); /* Semi-transparent background for content */
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-responsible-gambling__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-responsible-gambling__intro-text {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #E0EFFF;
}

.page-responsible-gambling__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-responsible-gambling__cta-button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
}

.page-responsible-gambling__section {
  padding: 60px 20px;
  background-color: #FFFFFF;
  margin-bottom: 20px;
}

.page-responsible-gambling__section:nth-of-type(even) {
  background-color: #F4F7FB;
}

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

.page-responsible-gambling__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-responsible-gambling__section-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #1F2D3D;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

.page-responsible-gambling__feature-card {
  background-color: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-responsible-gambling__feature-icon {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-responsible-gambling__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 15px;
}

.page-responsible-gambling__card-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #1F2D3D;
}

.page-responsible-gambling__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-responsible-gambling__list-item {
  position: relative;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 15px;
  padding-left: 30px;
  color: #1F2D3D;
}

.page-responsible-gambling__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2F6BFF;
  font-weight: bold;
  font-size: 1.2em;
}

.page-responsible-gambling__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page-responsible-gambling__support-card {
  background-color: #F4F7FB;
  border: 1px solid #D6E2FF;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.page-responsible-gambling__support-card .page-responsible-gambling__card-title {
  color: #2F6BFF;
}

.page-responsible-gambling__card-link {
  display: inline-block;
  margin-top: 20px;
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-responsible-gambling__card-link:hover {
  color: #6FA3FF;
  text-decoration: underline;
}

.page-responsible-gambling__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-responsible-gambling__tips-list .page-responsible-gambling__list-item {
  padding-left: 0;
  text-align: left;
}

.page-responsible-gambling__tips-list .page-responsible-gambling__list-item::before {
  content: '💡';
  font-size: 1em;
  left: -25px;
  top: 5px;
  color: #2F6BFF;
}

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

  .page-responsible-gambling__intro-text {
    font-size: 1rem;
  }

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

  .page-responsible-gambling__section-description {
    font-size: 0.95rem;
  }

  .page-responsible-gambling__hero-content {
    padding: 30px 15px 40px;
    margin-top: -60px;
  }

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

  .page-responsible-gambling__features-grid, .page-responsible-gambling__support-cards {
    grid-template-columns: 1fr;
  }

  .page-responsible-gambling__hero-image,
  .page-responsible-gambling__feature-icon,
  .page-responsible-gambling__content-image {
    max-width: 100%;
    height: auto;
  }

  .page-responsible-gambling__list-item,
  .page-responsible-gambling__card-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .page-responsible-gambling__main-title {
    font-size: 1.8rem;
  }

  .page-responsible-gambling__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .page-responsible-gambling__hero-content {
    margin-top: -40px;
  }

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

/* Ensure all content images are responsive and do not overflow */
@media (max-width: 768px) {
  .page-responsible-gambling img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-responsible-gambling__container {
    overflow-x: hidden;
  }
}