/* style/resources-responsible-gaming-policy.css */

:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --button-register-login: #C30808;
  --font-register-login: #FFFF00;
  --border-color: #e0e0e0;
  --background-light: #f9f9f9;
}

.page-resources-responsible-gaming-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light backgrounds */
  background-color: var(--secondary-color); /* Matches body background from shared.css */
}

.page-resources-responsible-gaming-policy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Hero Section */
.page-resources-responsible-gaming-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 40%, #00994d 100%); /* Green gradient */
  color: var(--text-light);
  overflow: hidden;
}

.page-resources-responsible-gaming-policy__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-resources-responsible-gaming-policy__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-responsible-gaming-policy__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-resources-responsible-gaming-policy__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-resources-responsible-gaming-policy__hero-title {
  font-size: 3.2em;
  margin-bottom: 15px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-resources-responsible-gaming-policy__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.page-resources-responsible-gaming-policy__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-register-login); /* Use specific register color */
  color: var(--font-register-login); /* Use specific register font color */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-resources-responsible-gaming-policy__cta-button:hover {
  background: #a80707; /* Slightly darker red */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Section Titles */
.page-resources-responsible-gaming-policy__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-responsible-gaming-policy__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--button-register-login);
  border-radius: 2px;
}

/* Paragraphs and Lists */
.page-resources-responsible-gaming-policy__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-responsible-gaming-policy__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-resources-responsible-gaming-policy__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-resources-responsible-gaming-policy__list-bullet {
  list-style: none;
  padding: 0;
}

.page-resources-responsible-gaming-policy__list-bullet li {
  position: relative;
  padding-left: 30px;
}

.page-resources-responsible-gaming-policy__list-bullet li::before {
  content: '✔'; /* Custom bullet point */
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-resources-responsible-gaming-policy__list-spaced li {
  margin-bottom: 15px;
}

/* Images within content */
.page-resources-responsible-gaming-policy__image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Section Backgrounds */
.page-resources-responsible-gaming-policy__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-resources-responsible-gaming-policy__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-resources-responsible-gaming-policy__dark-bg .page-resources-responsible-gaming-policy__section-title,
.page-resources-responsible-gaming-policy__dark-bg .page-resources-responsible-gaming-policy__paragraph,
.page-resources-responsible-gaming-policy__dark-bg .page-resources-responsible-gaming-policy__list li,
.page-resources-responsible-gaming-policy__dark-bg .page-resources-responsible-gaming-policy__card-title,
.page-resources-responsible-gaming-policy__dark-bg .page-resources-responsible-gaming-policy__card-text,
.page-resources-responsible-gaming-policy__dark-bg .page-resources-responsible-gaming-policy__resource-title,
.page-resources-responsible-gaming-policy__dark-bg .page-resources-responsible-gaming-policy__resource-description {
  color: var(--text-light);
}

.page-resources-responsible-gaming-policy__dark-bg .page-resources-responsible-gaming-policy__section-title::after {
  background-color: var(--font-register-login);
}

/* Policy Details Grid */
.page-resources-responsible-gaming-policy__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-resources-responsible-gaming-policy__card {
  background: var(--secondary-color);
  color: var(--text-dark);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-resources-responsible-gaming-policy__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-responsible-gaming-policy__card-light {
  background: var(--secondary-color);
  color: var(--text-dark);
}

.page-resources-responsible-gaming-policy__card-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
  text-align: left;
}

.page-resources-responsible-gaming-policy__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

.page-resources-responsible-gaming-policy__card-text {
  font-size: 1em;
  text-align: justify;
}

.page-resources-responsible-gaming-policy__card-text ul {
  margin-left: 20px;
  list-style: disc;
}