/* style/responsible-gaming.css */

/* Base styles for the Responsible Gaming page */
.page-responsible-gaming {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text on light background, as body is default white */
  background-color: #FFFFFF; /* Explicitly set for consistency */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

/* Hero Section */
.page-responsible-gaming__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Center content vertically */
  text-align: center;
  padding: 80px 20px;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  min-height: 400px; /* Ensure hero section has a decent height */
}

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

.page-responsible-gaming__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the area while maintaining aspect ratio */
  opacity: 0.3; /* Subtle background effect */
  display: block;
}

.page-responsible-gaming__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

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

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

.page-responsible-gaming__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for action */
  color: #000000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  min-width: 200px;
  text-align: center;
}

.page-responsible-gaming__hero-button:hover {
  background-color: #e0a53b;
}

/* Intro Section */
.page-responsible-gaming__intro-section {
  padding: 60px 0;
  background-color: #f8f8f8;
  text-align: center;
}

.page-responsible-gaming__intro-heading {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000;
}

.page-responsible-gaming__intro-text {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto;
  color: #333333;
}

/* Tools Section */
.page-responsible-gaming__tools-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-responsible-gaming__tools-heading {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
}

.page-responsible-gaming__tools-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #333333;
}

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

.page-responsible-gaming__tool-card {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-responsible-gaming__tool-icon {
  width: 400px; /* Matched HTML width */
  height: 300px; /* Matched HTML height */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-responsible-gaming__tool-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #000000;
}

.page-responsible-gaming__tool-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-responsible-gaming__tool-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  min-width: 150px;
  text-align: center;
}

.page-responsible-gaming__tool-button:hover {
  background-color: #333333;
}

/* Support & External Resources Section */
.page-responsible-gaming__support-resources-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  text-align: center;
}

.page-responsible-gaming__support-resources-heading {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000;
}

.page-responsible-gaming__support-resources-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #333333;
}

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

.page-responsible-gaming__resource-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-responsible-gaming__resource-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #000000;
}

.page-responsible-gaming__resource-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-responsible-gaming__resource-card ul {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: #555555;
}

.page-responsible-gaming__resource-card ul li a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-responsible-gaming__resource-card ul li a:hover {
  color: #FCBC45;
}

.page-responsible-gaming__resource-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  min-width: 150px;
  text-align: center;
}

.page-responsible-gaming__resource-button:hover {
  background-color: #e0a53b;
}

.page-responsible-gaming__support-image {
  width: 800px; /* Matched HTML width */
  height: 600px; /* Matched HTML height */
  object-fit: cover;
  border-radius: 8px;
  margin-top: 50px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Understanding Problem Gambling Section */
.page-responsible-gaming__understanding-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-responsible-gaming__understanding-heading {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
}

.page-responsible-gaming__understanding-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #333333;
}

.page-responsible-gaming__understanding-list {
  list-style: disc inside;
  max-width: 900px;
  margin: 0 auto 30px auto;
  padding-left: 20px;
  color: #333333;
  font-size: 1.1em;
  text-align: left;
}

.page-responsible-gaming__understanding-list li {
  margin-bottom: 10px;
}

.page-responsible-gaming__understanding-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: #333333;
}

/* Policy Section */
.page-responsible-gaming__policy-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-responsible-gaming__policy-heading {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-responsible-gaming__policy-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

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

.page-responsible-gaming__policy-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-responsible-gaming__policy-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-responsible-gaming__policy-text {
  font-size: 1em;
  color: #CCCCCC;
}

.page-responsible-gaming__policy-image {
  width: 800px; /* Matched HTML width */
  height: 600px; /* Matched HTML height */
  object-fit: cover;
  border-radius: 8px;
  margin-top: 50px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-responsible-gaming__policy-footer-text {
  margin-top: 30px;
  font-size: 1em;
  color: #f0f0f0;
}

.page-responsible-gaming__policy-footer-text a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-responsible-gaming__policy-footer-text a:hover {
  color: #FFFFFF;
}

/* Call to Action Section */
.page-responsible-gaming__cta-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  text-align: center;
}

.page-responsible-gaming__cta-heading {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000;
}

.page-responsible-gaming__cta-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #333333;
}

.page-responsible-gaming__cta-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  min-width: 200px;
  text-align: center;
}

.page-responsible-gaming__cta-button:hover {
  background-color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-responsible-gaming__hero-title {
    font-size: 2.8em;
  }
  .page-responsible-gaming__hero-description {
    font-size: 1.1em;
  }
  .page-responsible-gaming__support-image,
  .page-responsible-gaming__policy-image {
    width: 100%;
    height: auto;
    max-width: 600px;
  }
  .page-responsible-gaming__tool-icon {
    width: 300px;
    height: 225px;
  }
}

@media (max-width: 768px) {
  .page-responsible-gaming__hero-section {
    padding: 60px 20px;
  }
  .page-responsible-gaming__hero-title {
    font-size: 2.2em;
  }
  .page-responsible-gaming__hero-description {
    font-size: 1em;
  }
  .page-responsible-gaming__intro-heading,
  .page-responsible-gaming__tools-heading,
  .page-responsible-gaming__support-resources-heading,
  .page-responsible-gaming__understanding-heading,
  .page-responsible-gaming__policy-heading,
  .page-responsible-gaming__cta-heading {
    font-size: 2em;
  }
  .page-responsible-gaming__tools-grid,
  .page-responsible-gaming__resources-grid,
  .page-responsible-gaming__policy-grid {
    grid-template-columns: 1fr;
  }
  /* Mobile content image overflow prevention */
  .page-responsible-gaming img {
    max-width: 100%;
    height: auto;
    /* Ensure content images are not smaller than 200px where applicable, but allow max-width: 100% for responsiveness */
    min-width: 200px; /* Apply min-width for larger content images */
    min- /* Maintain aspect ratio for min-width */
  }
  .page-responsible-gaming__tool-icon {
    width: 100%; /* Adjust to fill card */
    height: auto;
    max-width: 300px; /* Limit max size for smaller screens */
    min-width: 200px;
    min-height: 150px;
  }
  .page-responsible-gaming__support-image,
  .page-responsible-gaming__policy-image {
    width: 100%;
    height: auto;
    max-width: none; /* Allow full width within container */
    min-width: 200px;
    min-height: 150px;
  }
  .page-responsible-gaming__container {
    padding: 0 15px;
  }
  .page-responsible-gaming__resource-card ul {
    padding-left: 15px;
  }
}

@media (max-width: 480px) {
  .page-responsible-gaming__hero-title {
    font-size: 1.8em;
  }
  .page-responsible-gaming__hero-button,
  .page-responsible-gaming__tool-button,
  .page-responsible-gaming__resource-button,
  .page-responsible-gaming__cta-button {
    padding: 12px 20px;
    font-size: 0.9em;
    min-width: unset;
    width: 100%;
  }
  .page-responsible-gaming__intro-heading,
  .page-responsible-gaming__tools-heading,
  .page-responsible-gaming__support-resources-heading,
  .page-responsible-gaming__understanding-heading,
  .page-responsible-gaming__policy-heading,
  .page-responsible-gaming__cta-heading {
    font-size: 1.8em;
  }
  .page-responsible-gaming__tool-card,
  .page-responsible-gaming__resource-card,
  .page-responsible-gaming__policy-item {
    padding: 20px;
  }
  .page-responsible-gaming__tool-title,
  .page-responsible-gaming__resource-title,
  .page-responsible-gaming__policy-title {
    font-size: 1.5em;
  }
  .page-responsible-gaming__understanding-list {
    padding-left: 10px;
  }
}