/* style/responsible-gambling.css */
.page-responsible-gambling {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-responsible-gambling__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #0A2342;
  overflow: hidden;
  border-bottom: 5px solid #E5B80B;
}

.page-responsible-gambling__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-responsible-gambling__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-responsible-gambling__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-responsible-gambling__hero-title {
  font-size: 3.2em;
  color: #E5B80B;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

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

.page-responsible-gambling__hero-cta-button {
  display: inline-block;
  background-color: #E5B80B;
  color: #0A2342;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-responsible-gambling__hero-cta-button:hover {
  background-color: #f0c94f;
  transform: translateY(-2px);
}

.page-responsible-gambling__section-title {
  font-size: 2.5em;
  color: #E5B80B;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-responsible-gambling__subsection-title {
  font-size: 1.8em;
  color: #f0f0f0;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #0A2342;
  padding-bottom: 10px;
}

.page-responsible-gambling__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #cccccc;
}

.page-responsible-gambling__bullet-list,
.page-responsible-gambling__numbered-list,
.page-responsible-gambling__resource-list {
  list-style-type: disc;
  margin-left: 30px;
  margin-bottom: 20px;
  color: #cccccc;
}

.page-responsible-gambling__numbered-list {
  list-style-type: decimal;
}

.page-responsible-gambling__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-responsible-gambling__list-item strong {
  color: #E5B80B;
}

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

.page-responsible-gambling__tool-card {
  background-color: rgba(10, 35, 66, 0.7); /* Dark blue with transparency */
  border: 1px solid #E5B80B;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gambling__tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(229, 184, 11, 0.3);
}

.page-responsible-gambling__card-title {
  font-size: 1.5em;
  color: #E5B80B;
  margin-bottom: 15px;
}

.page-responsible-gambling__card-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 25px;
}

.page-responsible-gambling__card-button {
  display: inline-block;
  background-color: #E5B80B;
  color: #0A2342;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-responsible-gambling__card-button:hover {
  background-color: #f0c94f;
}

.page-responsible-gambling__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  min-width: 200px;
  min-height: 200px;
}

.page-responsible-gambling__support-button,
.page-responsible-gambling__learn-more-button {
  display: inline-block;
  background-color: #E5B80B;
  color: #0A2342;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  margin-top: 30px;
}

.page-responsible-gambling__support-button:hover,
.page-responsible-gambling__learn-more-button:hover {
  background-color: #f0c94f;
  transform: translateY(-2px);
}

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

.page-responsible-gambling__faq-item {
  background-color: rgba(10, 35, 66, 0.7);
  border: 1px solid #E5B80B;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 20px;
}

.page-responsible-gambling__faq-question {
  font-size: 1.3em;
  color: #E5B80B;
  margin-bottom: 10px;
}

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

.page-responsible-gambling__cta-section {
  background-color: #0A2342;
  padding: 80px 20px;
  text-align: center;
  border-top: 5px solid #E5B80B;
}

.page-responsible-gambling__cta-content {
  max-width: 900px;
}

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

.page-responsible-gambling__cta-button {
  display: inline-block;
  background-color: #E5B80B;
  color: #0A2342;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

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

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

@media (max-width: 768px) {
  .page-responsible-gambling__hero-title {
    font-size: 2.2em;
  }
  .page-responsible-gambling__hero-description {
    font-size: 1.1em;
  }
  .page-responsible-gambling__hero-cta-button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-responsible-gambling__section-title {
    font-size: 1.8em;
    padding-top: 40px;
  }
  .page-responsible-gambling__subsection-title {
    font-size: 1.5em;
  }
  .page-responsible-gambling__text-content,
  .page-responsible-gambling__list-item,
  .page-responsible-gambling__card-description,
  .page-responsible-gambling__faq-answer {
    font-size: 0.95em;
  }
  .page-responsible-gambling__tool-cards {
    grid-template-columns: 1fr;
  }
  .page-responsible-gambling__image-full-width {
    max-width: 100%;
    height: auto;
  }
  .page-responsible-gambling__cta-buttons {
    flex-direction: column;
  }
  .page-responsible-gambling__cta-button {
    width: 100%;
    max-width: 300px; /* Limit button width on small screens */
  }
  .page-responsible-gambling__tool-card {
    padding: 20px;
  }
  .page-responsible-gambling__card-title {
    font-size: 1.3em;
  }
  .page-responsible-gambling__card-button {
    font-size: 0.9em;
    padding: 8px 15px;
  }
  /* Ensure all images within .page-responsible-gambling are responsive */
  .page-responsible-gambling img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-responsible-gambling__hero-title {
    font-size: 1.8em;
  }
  .page-responsible-gambling__hero-description {
    font-size: 1em;
  }
  .page-responsible-gambling__hero-cta-button {
    font-size: 0.9em;
    padding: 10px 20px;
  }
  .page-responsible-gambling__section-title {
    font-size: 1.5em;
  }
  .page-responsible-gambling__subsection-title {
    font-size: 1.3em;
  }
  .page-responsible-gambling__container {
    padding: 0 15px;
  }
}