/* style/responsible-gaming-gambling-addiction-prevention.css */

:root {
  --page-primary-color: #0A246A;
  --page-secondary-color: #FFD700;
  --page-text-light: #F8F8F8; /* For dark backgrounds */
  --page-text-dark: #1A1A1A; /* For light backgrounds */
  --page-background-light: #FFFFFF;
  --page-background-dark: #0A246A;
  --page-accent-color: #f5db95; /* Complementary to primary */
  --page-button-hover: #e6c200;
}

.page-responsible-gaming-gambling-addiction-prevention {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-text-dark);
  background-color: var(--page-background-light);
}

.page-responsible-gaming-gambling-addiction-prevention__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-responsible-gaming-gambling-addiction-prevention__hero {
  background: linear-gradient(135deg, var(--page-background-dark), #1A3A7A);
  color: var(--page-text-light);
  padding: 80px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.page-responsible-gaming-gambling-addiction-prevention__title {
  font-size: 2.8em;
  margin-bottom: 15px;
  line-height: 1.2;
  color: var(--page-text-light);
}

.page-responsible-gaming-gambling-addiction-prevention__subtitle {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-accent-color);
}

.page-responsible-gaming-gambling-addiction-prevention__button {
  display: inline-block;
  background-color: var(--page-secondary-color);
  color: var(--page-primary-color);
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.page-responsible-gaming-gambling-addiction-prevention__button:hover {
  background-color: var(--page-button-hover);
  transform: translateY(-2px);
}

.page-responsible-gaming-gambling-addiction-prevention__button--secondary {
  background-color: var(--page-primary-color);
  color: var(--page-text-light);
  border: 2px solid var(--page-secondary-color);
}

.page-responsible-gaming-gambling-addiction-prevention__button--secondary:hover {
  background-color: #0C3680;
  border-color: var(--page-button-hover);
}

.page-responsible-gaming-gambling-addiction-prevention__button--primary {
  background-color: var(--page-secondary-color);
  color: var(--page-primary-color);
}

.page-responsible-gaming-gambling-addiction-prevention__button--primary:hover {
  background-color: var(--page-button-hover);
}

/* General Section Styling */
.page-responsible-gaming-gambling-addiction-prevention__section {
  padding: 60px 0;
}

.page-responsible-gaming-gambling-addiction-prevention__section:nth-of-type(odd) {
  background-color: #F8F8F8;
}

.page-responsible-gaming-gambling-addiction-prevention__section-title {
  font-size: 2.2em;
  color: var(--page-primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-responsible-gaming-gambling-addiction-prevention__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--page-secondary-color);
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-responsible-gaming-gambling-addiction-prevention__description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
  color: var(--page-text-dark);
}

/* Content Grid for text and image */
.page-responsible-gaming-gambling-addiction-prevention__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .page-responsible-gaming-gambling-addiction-prevention__content-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-responsible-gaming-gambling-addiction-prevention__content-grid:nth-child(even) .page-responsible-gaming-gambling-addiction-prevention__text-block {
    order: 2;
  }
  .page-responsible-gaming-gambling-addiction-prevention__content-grid:nth-child(even) .page-responsible-gaming-gambling-addiction-prevention__image-wrapper {
    order: 1;
  }
}

.page-responsible-gaming-gambling-addiction-prevention__text-block p {
  margin-bottom: 15px;
  color: var(--page-text-dark);
}

.page-responsible-gaming-gambling-addiction-prevention__image-wrapper {
  text-align: center;
}

.page-responsible-gaming-gambling-addiction-prevention__image-wrapper--center {
  margin-top: 40px;
}

.page-responsible-gaming-gambling-addiction-prevention__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Highlight color for keywords */
.page-responsible-gaming-gambling-addiction-prevention .highlight {
  color: var(--page-secondary-color);
  font-weight: bold;
}

/* Grid for Cards */
.page-responsible-gaming-gambling-addiction-prevention__grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .page-responsible-gaming-gambling-addiction-prevention__grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.page-responsible-gaming-gambling-addiction-prevention__card {
  background-color: var(--page-background-light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  border-top: 5px solid var(--page-primary-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-responsible-gaming-gambling-addiction-prevention__card-title {
  font-size: 1.5em;
  color: var(--page-primary-color);
  margin-bottom: 15px;
}

.page-responsible-gaming-gambling-addiction-prevention__list {
  list-style: none;
  padding-left: 0;
}

.page-responsible-gaming-gambling-addiction-prevention__list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: var(--page-text-dark);
}

.page-responsible-gaming-gambling-addiction-prevention__list li::before {
  content: '✔';
  color: var(--page-secondary-color);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

/* Feature Cards (Tools Section) */
.page-responsible-gaming-gambling-addiction-prevention__grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .page-responsible-gaming-gambling-addiction-prevention__grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.page-responsible-gaming-gambling-addiction-prevention__feature-card {
  background-color: var(--page-background-light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  border-bottom: 4px solid var(--page-secondary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-responsible-gaming-gambling-addiction-prevention__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-responsible-gaming-gambling-addiction-prevention__feature-title {
  font-size: 1.6em;
  color: var(--page-primary-color);
  margin-bottom: 15px;
}

.page-responsible-gaming-gambling-addiction-prevention__feature-card p {
  color: var(--page-text-dark);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-responsible-gaming-gambling-addiction-prevention__link-button {
  display: inline-block;
  background-color: var(--page-primary-color);
  color: var(--page-text-light);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 0.95em;
}

.page-responsible-gaming-gambling-addiction-prevention__link-button:hover {
  background-color: #0C3680;
}

/* Advice Section */
.page-responsible-gaming-gambling-addiction-prevention__bullet-list {
  list-style: none;
  padding-left: 0;
  max-width: 900px;
  margin: 40px auto;
}

.page-responsible-gaming-gambling-addiction-prevention__bullet-list li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 35px;
  font-size: 1.1em;
  color: var(--page-text-dark);
}

.page-responsible-gaming-gambling-addiction-prevention__bullet-list li strong {
  color: var(--page-primary-color);
}

.page-responsible-gaming-gambling-addiction-prevention__bullet-list li::before {
  content: '•'; /* Unicode bullet point */
  color: var(--page-secondary-color);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.5em;
  line-height: 1;
}

/* Support Section */
.page-responsible-gaming-gambling-addiction-prevention__support-card {
  background-color: var(--page-primary-color);
  color: var(--page-text-light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-responsible-gaming-gambling-addiction-prevention__support-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
  filter: invert(1) brightness(1.5); /* Make icons light for dark background */
}

.page-responsible-gaming-gambling-addiction-prevention__support-title {
  font-size: 1.6em;
  color: var(--page-secondary-color);
  margin-bottom: 15px;
}

.page-responsible-gaming-gambling-addiction-prevention__support-card p {
  color: var(--page-text-light);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-responsible-gaming-gambling-addiction-prevention__external-links {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-responsible-gaming-gambling-addiction-prevention__external-links li {
  margin-bottom: 10px;
}

.page-responsible-gaming-gambling-addiction-prevention__external-link {
  color: var(--page-secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-responsible-gaming-gambling-addiction-prevention__external-link:hover {
  color: var(--page-button-hover);
  text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .page-responsible-gaming-gambling-addiction-prevention__title {
    font-size: 2.2em;
  }
  .page-responsible-gaming-gambling-addiction-prevention__subtitle {
    font-size: 1.1em;
  }
  .page-responsible-gaming-gambling-addiction-prevention__section-title {
    font-size: 1.8em;
  }
  .page-responsible-gaming-gambling-addiction-prevention__description,
  .page-responsible-gaming-gambling-addiction-prevention__text-block p,
  .page-responsible-gaming-gambling-addiction-prevention__bullet-list li {
    font-size: 1em;
  }
}

@media (max-width: 767px) {
  .page-responsible-gaming-gambling-addiction-prevention__hero {
    padding: 60px 0;
    min-height: 300px;
  }
  .page-responsible-gaming-gambling-addiction-prevention__title {
    font-size: 1.8em;
  }
  .page-responsible-gaming-gambling-addiction-prevention__subtitle {
    font-size: 0.95em;
  }
  .page-responsible-gaming-gambling-addiction-prevention__section {
    padding: 40px 0;
  }
  .page-responsible-gaming-gambling-addiction-prevention__section-title {
    font-size: 1.6em;
    margin-bottom: 30px;
  }
  .page-responsible-gaming-gambling-addiction-prevention__description {
    font-size: 0.95em;
  }
  .page-responsible-gaming-gambling-addiction-prevention__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-responsible-gaming-gambling-addiction-prevention__card,
  .page-responsible-gaming-gambling-addiction-prevention__feature-card,
  .page-responsible-gaming-gambling-addiction-prevention__support-card {
    padding: 25px;
  }
  .page-responsible-gaming-gambling-addiction-prevention__card-title,
  .page-responsible-gaming-gambling-addiction-prevention__feature-title,
  .page-responsible-gaming-gambling-addiction-prevention__support-title {
    font-size: 1.3em;
  }
  .page-responsible-gaming-gambling-addiction-prevention__list li,
  .page-responsible-gaming-gambling-addiction-prevention__feature-card p,
  .page-responsible-gaming-gambling-addiction-prevention__support-card p {
    font-size: 0.9em;
  }
  .page-responsible-gaming-gambling-addiction-prevention__bullet-list li {
    font-size: 0.95em;
    padding-left: 30px;
  }
  .page-responsible-gaming-gambling-addiction-prevention__bullet-list li::before {
    font-size: 1.2em;
  }
}