/* style/resources-responsible-gaming-policy.css */
.page-resources-responsible-gaming-policy {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #f8f8f8;
}

.page-resources-responsible-gaming-policy__hero-section {
  background-color: #0A2342; /* Main brand color for hero background */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-resources-responsible-gaming-policy__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-resources-responsible-gaming-policy__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #F2C94C; /* Accent color for hero title */
  line-height: 1.2;
}

.page-resources-responsible-gaming-policy__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-responsible-gaming-policy__hero-button {
  display: inline-block;
  background-color: #F2C94C; /* Accent color for button */
  color: #0A2342; /* Dark text for accent button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-responsible-gaming-policy__hero-button:hover {
  background-color: #e0b83e;
  transform: translateY(-2px);
}

.page-resources-responsible-gaming-policy__hero-image-wrapper {
  max-width: 1000px;
  margin-top: 40px;
}

.page-resources-responsible-gaming-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-resources-responsible-gaming-policy__content-area {
  max-width: 800px; /* Content width for readability */
  margin: 0 auto;
  padding: 40px 20px;
}

.page-resources-responsible-gaming-policy__section-title {
  font-size: 2.5em;
  color: #0A2342; /* Main brand color for section titles */
  margin-top: 60px;
  margin-bottom: 30px;
  text-align: center;
}

.page-resources-responsible-gaming-policy__subsection-title {
  font-size: 1.8em;
  color: #0A2342;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-resources-responsible-gaming-policy__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-responsible-gaming-policy__image-text-block {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.page-resources-responsible-gaming-policy__image-text-block--reversed {
  flex-direction: row-reverse;
}

.page-resources-responsible-gaming-policy__image-text-block .page-resources-responsible-gaming-policy__image {
  flex: 1;
  min-width: 300px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%; /* Ensure image uses its container width */
  height: auto;
}

.page-resources-responsible-gaming-policy__image-text-block .page-resources-responsible-gaming-policy__text-block {
  flex: 2;
  min-width: 300px;
}

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

.page-resources-responsible-gaming-policy__card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-resources-responsible-gaming-policy__card:hover {
  transform: translateY(-5px);
}

.page-resources-responsible-gaming-policy__card-title {
  font-size: 1.5em;
  color: #0A2342;
  margin-bottom: 15px;
}

.page-resources-responsible-gaming-policy__card-description {
  font-size: 1em;
  color: #555555;
}

.page-resources-responsible-gaming-policy__resource-list {
  list-style: disc inside;
  margin: 20px 0 40px 20px;
  font-size: 1.1em;
}

.page-resources-responsible-gaming-policy__list-item {
  margin-bottom: 10px;
}

.page-resources-responsible-gaming-policy__list-item a {
  color: #0A2342;
  text-decoration: underline;
}

.page-resources-responsible-gaming-policy__list-item a:hover {
  color: #F2C94C;
}

.page-resources-responsible-gaming-policy__cta-block {
  background-color: #F2C94C; /* Accent color for CTA background */
  color: #0A2342; /* Dark text for accent background */
  padding: 50px 30px;
  text-align: center;
  border-radius: 10px;
  margin: 60px 0;
}

.page-resources-responsible-gaming-policy__cta-text {
  font-size: 1.4em;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-resources-responsible-gaming-policy__cta-button {
  display: inline-block;
  background-color: #0A2342; /* Main brand color for CTA button */
  color: #ffffff;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-responsible-gaming-policy__cta-button:hover {
  background-color: #1a3c61;
  transform: translateY(-2px);
}

.page-resources-responsible-gaming-policy__back-link-wrapper {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

.page-resources-responsible-gaming-policy__back-link {
  color: #0A2342;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-resources-responsible-gaming-policy__back-link:hover {
  color: #F2C94C;
}

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

  .page-resources-responsible-gaming-policy__hero-description {
    font-size: 1em;
  }

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

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

  .page-resources-responsible-gaming-policy__text-block {
    font-size: 1em;
  }

  .page-resources-responsible-gaming-policy__image-text-block {
    flex-direction: column;
    gap: 20px;
  }

  .page-resources-responsible-gaming-policy__image-text-block--reversed {
    flex-direction: column;
  }

  .page-resources-responsible-gaming-policy__image-text-block .page-resources-responsible-gaming-policy__image {
    min-width: unset;
    width: 100%;
    height: auto;
  }

  .page-resources-responsible-gaming-policy__image-text-block .page-resources-responsible-gaming-policy__text-block {
    min-width: unset;
  }

  .page-resources-responsible-gaming-policy__card-grid {
    grid-template-columns: 1fr;
  }

  .page-resources-responsible-gaming-policy__cta-text {
    font-size: 1.2em;
  }

  .page-resources-responsible-gaming-policy {
    max-width: 100%;
    overflow-x: hidden;
  }

  .page-resources-responsible-gaming-policy img {
    max-width: 100%;
    height: auto;
  }
}

/* Ensure content images are not too small, as per instructions */
.page-resources-responsible-gaming-policy__image-text-block img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Ensures images fill their space without distortion */
}

/* Specific rule for content images to ensure minimum size and prevent filters */
.page-resources-responsible-gaming-policy__content-area img {
  min-width: 200px;
  min-height: 200px;
  max-width: 100%; /* Important for mobile responsiveness */
  height: auto;
  filter: none; /* Explicitly prevent any filter effects */
}