.page-responsible-gambling {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  /* Base text color for dark body background */
  color: #f0f0f0; 
}

.page-responsible-gambling__hero-banner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 120px; /* Adjust for fixed header */
  min-height: 500px;
  overflow: hidden;
}

.page-responsible-gambling__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-responsible-gambling__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
  z-index: 0;
}

.page-responsible-gambling__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px;
  color: #ffffff;
}

.page-responsible-gambling__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-responsible-gambling__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-responsible-gambling__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, #FFD700, #FFA500); /* Gold gradient */
  color: #1A202C;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-responsible-gambling__cta-button:hover {
  background: linear-gradient(135deg, #FFA500, #FFC107);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling__cta-button--large {
  padding: 18px 50px;
  font-size: 20px;
}

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

.page-responsible-gambling__container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-responsible-gambling__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
}

.page-responsible-gambling__paragraph {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-responsible-gambling__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 17px;
}

.page-responsible-gambling__ordered-list {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 17px;
}

.page-responsible-gambling__list-item {
  margin-bottom: 10px;
  line-height: 1.7;
}

.page-responsible-gambling__dark-bg {
  background: #1A202C;
  color: #ffffff;
}

.page-responsible-gambling__light-bg {
  background: #f8f9fa;
  color: #333333;
}

.page-responsible-gambling__light-bg .page-responsible-gambling__section-title {
  color: #1A202C;
}

.page-responsible-gambling__light-bg .page-responsible-gambling__paragraph {
  color: #333333;
}

.page-responsible-gambling__light-bg .page-responsible-gambling__list-item {
  color: #333333;
}

.page-responsible-gambling__highlight {
  color: #FFD700;
  font-weight: bold;
}

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

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

.page-responsible-gambling__tool-card {
  background: #ffffff;
  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;
  color: #333333;
}

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

.page-responsible-gambling__tool-icon {
  max-width: 150px; /* Increased icon size */
  height: auto;
  margin-bottom: 20px;
}

.page-responsible-gambling__tool-title {
  font-size: 22px;
  font-weight: bold;
  color: #1A202C;
  margin-bottom: 15px;
}

.page-responsible-gambling__tool-description {
  font-size: 16px;
  color: #555555;
  text-align: left;
}

.page-responsible-gambling__button-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-responsible-gambling__main-title {
    font-size: 40px;
  }

  .page-responsible-gambling__section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-responsible-gambling__hero-banner {
    padding-top: 100px !important; /* Mobile fixed header adjustment */
    min-height: 400px;
  }

  .page-responsible-gambling__main-title {
    font-size: 32px;
  }

  .page-responsible-gambling__hero-description {
    font-size: 16px;
  }

  .page-responsible-gambling__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }

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

  .page-responsible-gambling__section-title {
    font-size: 28px;
  }

  .page-responsible-gambling__paragraph,
  .page-responsible-gambling__list-item,
  .page-responsible-gambling__tool-description {
    font-size: 15px;
  }

  .page-responsible-gambling__tool-card {
    padding: 25px;
  }

  .page-responsible-gambling__tool-icon {
    max-width: 120px; /* Adjusted icon size for mobile */
  }

  .page-responsible-gambling__tool-title {
    font-size: 20px;
  }

  /* Ensure all images are responsive */
  .page-responsible-gambling img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-responsible-gambling__section,
  .page-responsible-gambling__container,
  .page-responsible-gambling__hero-container,
  .page-responsible-gambling__tool-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-responsible-gambling__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-responsible-gambling__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
}

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

  .page-responsible-gambling__section-title {
    font-size: 24px;
  }

  .page-responsible-gambling__cta-button--large {
    padding: 15px 35px;
    font-size: 18px;
  }
  .page-responsible-gambling__tool-icon {
    max-width: 100px; /* Further adjusted icon size for smaller mobiles */
  }
}