/* style/responsible-gambling.css */

.page-responsible-gambling {
  color: #333333; /* Dark text for light body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #FFFFFF;
}

.page-responsible-gambling__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero section */
}

.page-responsible-gambling__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-responsible-gambling__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFFFFF; /* White text over hero image for contrast */
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text readability */
  border-radius: 10px;
  max-width: 900px;
  margin: 20px;
}

.page-responsible-gambling__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #FFFFFF;
}

.page-responsible-gambling__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #F0F0F0;
}

.page-responsible-gambling__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for primary action */
  color: #000000; /* Dark text for contrast */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-responsible-gambling__hero-button:hover {
  background-color: #e0a73c;
}

.page-responsible-gambling__content-section {
  padding: 60px 20px;
  border-bottom: 1px solid #eee;
}

.page-responsible-gambling__content-section:last-of-type {
  border-bottom: none;
}

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

.page-responsible-gambling__section-title {
  font-size: 2.5em;
  color: #000000; /* Main color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-responsible-gambling__subsection-title {
  font-size: 1.8em;
  color: #000000; /* Main color */
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-responsible-gambling__section-paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-responsible-gambling__bullet-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.8;
}

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

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

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

.page-responsible-gambling__tool-card:hover {
  transform: translateY(-5px);
}

.page-responsible-gambling__tool-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

.page-responsible-gambling__tool-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

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

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

.page-responsible-gambling__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
  margin-top: 30px;
}

.page-responsible-gambling__button--primary {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* White text for contrast */
}

.page-responsible-gambling__button--primary:hover {
  background-color: #333333;
}

.page-responsible-gambling__button--secondary {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Dark text for contrast */
}

.page-responsible-gambling__button--secondary:hover {
  background-color: #e0a73c;
}


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

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

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

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

  .page-responsible-gambling__section-paragraph,
  .page-responsible-gambling__bullet-list,
  .page-responsible-gambling__list-item,
  .page-responsible-gambling__tool-description {
    font-size: 0.95em;
  }

  .page-responsible-gambling__tools-grid {
    grid-template-columns: 1fr;
  }

  .page-responsible-gambling__tool-icon {
    width: 150px;
    height: 112px;
  }

  .page-responsible-gambling__button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-responsible-gambling__hero-button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }

  /* Ensure images in content area do not overflow */
  .page-responsible-gambling img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-responsible-gambling__hero-content {
    padding: 20px 15px;
  }

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

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