.page-responsible-gambling {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
}

.page-responsible-gambling__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 550px; /* Ensures hero section has a base height */
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.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: 1;
  text-align: center;
  max-width: 900px;
  padding: 30px;
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent dark overlay for text readability */
  border-radius: 12px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.page-responsible-gambling__hero-title {
  font-size: 3em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-responsible-gambling__hero-description {
  font-size: 1.3em;
  margin-bottom: 35px;
  color: #f0f0f0;
  font-weight: 300;
}

.page-responsible-gambling__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #8B0000; /* Deep red text for contrast */
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.page-responsible-gambling__cta-button:hover {
  background-color: #e6c200;
  color: #6a0000;
  transform: translateY(-2px);
}

.page-responsible-gambling__section {
  padding: 80px 20px;
  border-bottom: 1px solid #eee;
}

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

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

.page-responsible-gambling__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Deep red for section titles */
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  font-weight: bold;
}

.page-responsible-gambling__section-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 5px;
  background-color: #FFD700;
  margin: 20px auto 0;
  border-radius: 3px;
}

.page-responsible-gambling__subsection-title {
  font-size: 2em;
  color: #333333;
  margin-top: 50px;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
}

.page-responsible-gambling__paragraph {
  font-size: 1.15em;
  line-height: 1.9;
  margin-bottom: 25px;
  text-align: justify;
  color: #444444;
}

.page-responsible-gambling__paragraph--center {
  text-align: center;
  margin-top: 40px;
  font-weight: 500;
  color: #333333;
}

.page-responsible-gambling__list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-responsible-gambling__list-item {
  background-color: #ffffff;
  border: 1px solid #ddd;
  padding: 18px 25px;
  margin-bottom: 12px;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  font-size: 1.1em;
  line-height: 1.7;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

.page-responsible-gambling__list-item:hover {
  transform: translateX(5px);
}

.page-responsible-gambling__list-item::before {
  content: '✓';
  color: #8B0000;
  font-weight: bold;
  margin-right: 15px;
  font-size: 1.3em;
  line-height: 1;
  flex-shrink: 0;
}

.page-responsible-gambling__list--support .page-responsible-gambling__list-item::before {
  content: '★';
  color: #FFD700;
}

.page-responsible-gambling__list--tips .page-responsible-gambling__list-item::before {
  content: '💡';
  color: #FFD700;
}

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

.page-responsible-gambling__tool-card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  padding: 35px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0;
}

.page-responsible-gambling__tool-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.page-responsible-gambling__tool-icon {
  width: 250px; /* Minimum 200px, larger for visual impact */
  height: 180px; /* Adjusted for aspect ratio, ensuring minimum height */
  object-fit: contain;
  margin-bottom: 25px;
  border-radius: 10px;
}

.page-responsible-gambling__tool-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 18px;
  font-weight: 700;
}

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

.page-responsible-gambling__image--parental-control {
  display: block;
  margin: 40px auto;
  max-width: 700px; /* Ensures image is not too wide */
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.page-responsible-gambling__cta-content {
  text-align: center;
  padding: 60px 30px;
  background-color: #fdfdfd;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid #eee;
}

.page-responsible-gambling__cta-buttons {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.page-responsible-gambling__cta-button--primary {
  background-color: #FFD700;
  color: #8B0000;
  border-color: #FFD700;
}

.page-responsible-gambling__cta-button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-responsible-gambling__cta-button--secondary {
  background-color: #8B0000;
  color: #FFD700;
  border-color: #8B0000;
}

.page-responsible-gambling__cta-button--secondary:hover {
  background-color: #6a0000;
  border-color: #6a0000;
}

.page-responsible-gambling__cta-button--tertiary {
  background-color: transparent;
  color: #8B0000;
  border: 2px solid #8B0000;
}

.page-responsible-gambling__cta-button--tertiary:hover {
  background-color: #8B0000;
  color: #ffffff;
  border-color: #8B0000;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-responsible-gambling__hero-title {
    font-size: 2.5em;
  }
  .page-responsible-gambling__hero-description {
    font-size: 1.1em;
  }
  .page-responsible-gambling__section-title {
    font-size: 2.2em;
  }
  .page-responsible-gambling__subsection-title {
    font-size: 1.8em;
  }
  .page-responsible-gambling__paragraph {
    font-size: 1.05em;
  }
}

@media (max-width: 768px) {
  .page-responsible-gambling__hero-section {
    min-height: 450px;
    padding-top: var(--header-offset, 80px);
  }

  .page-responsible-gambling__hero-content {
    padding: 25px;
  }

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

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

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

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

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

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

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

  .page-responsible-gambling__list-item {
    font-size: 0.95em;
    padding: 15px 20px;
  }

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

  /* Ensure content area images are responsive and don't overflow */
  .page-responsible-gambling img {
    max-width: 100%;
    height: auto;
  }

  .page-responsible-gambling__tool-icon {
    width: 200px; /* Maintain minimum size */
    height: auto;
  }

  .page-responsible-gambling__image--parental-control {
    max-width: 100%;
  }

  .page-responsible-gambling__cta-buttons {
    flex-direction: column;
  }

  .page-responsible-gambling__cta-button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-responsible-gambling__hero-section {
    min-height: 350px;
  }

  .page-responsible-gambling__hero-content {
    padding: 20px;
  }

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

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

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

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

  .page-responsible-gambling__tool-card {
    padding: 25px;
  }
  .page-responsible-gambling__list-item {
    padding: 12px 15px;
  }
}