.page-responsible-gambling {
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f8f8f8; /* Light background for the page content */
}

.page-responsible-gambling__hero-section {
  position: relative;
  width: 100%;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #1E90FF; /* Auxiliary color for hero section background */
  overflow: hidden;
}

.page-responsible-gambling__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Cover the container */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.7); /* Slightly darken image for text readability, not changing color */
}

.page-responsible-gambling__hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
  color: #ffffff; /* White text for hero section */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px; /* Minimum height for hero content */
}

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

.page-responsible-gambling__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  line-height: 1.5;
  color: #f0f0f0;
}

.page-responsible-gambling__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #1E90FF; /* Blue text on gold button */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-responsible-gambling__hero-button:hover {
  background-color: #e6c200; /* Darker gold on hover */
  color: #000000; /* Black text on hover */
}

.page-responsible-gambling__content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-responsible-gambling__section-title {
  font-size: 2.5em;
  color: #1E90FF; /* Blue for section titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-responsible-gambling__text-block {
  font-size: 1.1em;
  text-align: justify;
  margin-bottom: 20px;
  color: #444444;
}

.page-responsible-gambling__button {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
  background-color: #1E90FF; /* Blue button */
  color: #ffffff; /* White text on blue button */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-responsible-gambling__button:hover {
  background-color: #1565b3; /* Darker blue on hover */
}

.page-responsible-gambling__commitment-section,
.page-responsible-gambling__tools-section,
.page-responsible-gambling__recognize-section,
.page-responsible-gambling__support-section,
.page-responsible-gambling__minor-protection-section,
.page-responsible-gambling__contact-section,
.page-responsible-gambling__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

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

.page-responsible-gambling__tool-card {
  background-color: #fdfdfd;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-responsible-gambling__tool-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-responsible-gambling__tool-title {
  font-size: 1.6em;
  color: #FFD700; /* Gold for tool titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-responsible-gambling__tool-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-responsible-gambling__tool-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #1E90FF; /* Blue text */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-responsible-gambling__tool-button:hover {
  background-color: #e6c200; /* Darker gold */
  color: #000000; /* Black text */
}

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

.page-responsible-gambling__sign-item {
  background-color: #f0f8ff; /* Light blue background */
  border-left: 5px solid #1E90FF; /* Blue accent */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.page-responsible-gambling__sign-title {
  font-size: 1.4em;
  color: #1E90FF; /* Blue for sign titles */
  margin-bottom: 10px;
  font-weight: bold;
}

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

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

.page-responsible-gambling__resource-card {
  background-color: #fffbe6; /* Light yellow background */
  border: 1px solid #FFD700; /* Gold border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-responsible-gambling__resource-title {
  font-size: 1.6em;
  color: #FFD700; /* Gold for resource titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-responsible-gambling__resource-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-responsible-gambling__resource-button {
  display: inline-block;
  background-color: #1E90FF; /* Blue button */
  color: #ffffff; /* White text */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-responsible-gambling__resource-button:hover {
  background-color: #1565b3; /* Darker blue */
}

.page-responsible-gambling__minor-protection-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-responsible-gambling__contact-buttons {
  text-align: center;
  margin-top: 40px;
}

.page-responsible-gambling__contact-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #1E90FF; /* Blue text */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin: 0 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-responsible-gambling__contact-button:hover {
  background-color: #e6c200; /* Darker gold */
  color: #000000; /* Black text */
}

.page-responsible-gambling__faq-items {
  margin-top: 40px;
}

.page-responsible-gambling__faq-item {
  background-color: #fdfdfd;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px 25px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.page-responsible-gambling__faq-question {
  font-size: 1.3em;
  color: #1E90FF; /* Blue for FAQ questions */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-responsible-gambling__faq-answer {
  font-size: 1em;
  color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-responsible-gambling__hero-title {
    font-size: 2.8em;
  }
  .page-responsible-gambling__hero-description {
    font-size: 1.2em;
  }
  .page-responsible-gambling__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-responsible-gambling__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure mobile header offset */
  }
  .page-responsible-gambling__hero-title {
    font-size: 2.2em;
  }
  .page-responsible-gambling__hero-description {
    font-size: 1em;
  }
  .page-responsible-gambling__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-responsible-gambling__section-title {
    font-size: 1.8em;
  }
  .page-responsible-gambling__text-block {
    font-size: 0.95em;
  }
  .page-responsible-gambling__tools-grid,
  .page-responsible-gambling__signs-grid,
  .page-responsible-gambling__support-resources {
    grid-template-columns: 1fr;
  }
  .page-responsible-gambling__tool-image,
  .page-responsible-gambling__minor-protection-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-responsible-gambling__contact-button {
    display: block;
    margin: 15px auto;
  }
}

@media (max-width: 480px) {
  .page-responsible-gambling__hero-title {
    font-size: 1.8em;
  }
  .page-responsible-gambling__hero-description {
    font-size: 0.9em;
  }
  .page-responsible-gambling__hero-container {
    padding: 60px 15px;
  }
  .page-responsible-gambling__section-title {
    font-size: 1.5em;
  }
  .page-responsible-gambling__content-wrapper {
    padding: 30px 15px;
  }
  .page-responsible-gambling__tool-title,
  .page-responsible-gambling__resource-title {
    font-size: 1.4em;
  }
  .page-responsible-gambling__sign-title,
  .page-responsible-gambling__faq-question {
    font-size: 1.2em;
  }
}