/* style/responsible-gambling.css */

/* Base Styles */
.page-responsible-gambling {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background #1a1a2e, so text is white */
  background-color: #1a1a2e; /* Inherited from shared.css, but good to keep in mind */
}

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

/* Hero Section */
.page-responsible-gambling__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px; /* Adjust as needed */
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #1a1a2e; /* Dark background */
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-responsible-gambling__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: #ffffff;
}

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

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

.page-responsible-gambling__hero-cta {
  display: flex;
  gap: 15px;
  justify-content: center;
}

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

.page-responsible-gambling__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
}

/* General Sections */
.page-responsible-gambling__content-area {
  padding: 60px 0;
}

.page-responsible-gambling__dark-section {
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-responsible-gambling__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-responsible-gambling__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #ffffff; /* White underline */
  border-radius: 2px;
}

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

.page-responsible-gambling__text-block {
  max-width: 900px;
  margin: 0 auto 30px;
  text-align: justify;
}

.page-responsible-gambling__text-block p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

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

.page-responsible-gambling__card {
  background-color: #ffffff; /* Light background for cards */
  color: #333333; /* Dark text for cards */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-responsible-gambling__card-title {
  font-size: 1.8em;
  color: #017439; /* Brand color for card titles */
  margin-bottom: 15px;
}

.page-responsible-gambling__card p {
  font-size: 1em;
  line-height: 1.7;
  color: #333333;
}

.page-responsible-gambling__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-responsible-gambling__list li {
  margin-bottom: 8px;
  color: #333333;
}

/* Feature Grid */
.page-responsible-gambling__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.page-responsible-gambling__feature-card {
  background-color: #ffffff; /* Light background for feature cards */
  color: #333333; /* Dark text for feature cards */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-responsible-gambling__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure image takes full width */
  margin-left: auto;
  margin-right: auto;
}

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

.page-responsible-gambling__feature-card p {
  color: #333333;
}

/* Support Grid */
.page-responsible-gambling__support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.page-responsible-gambling__support-card {
  background-color: #ffffff; /* Light background for support cards */
  color: #333333; /* Dark text for support cards */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-responsible-gambling__support-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-responsible-gambling__support-card p {
  color: #333333;
  margin-bottom: 25px;
  flex-grow: 1; /* Allow paragraph to take available space */
}


/* FAQ Section */
.page-responsible-gambling__faq-list {
  max-width: 900px;
  margin: 50px auto 0;
}

.page-responsible-gambling__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter dark background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-responsible-gambling__faq-item[open] {
  background-color: rgba(255, 255, 255, 0.15); /* Lighter when open */
}