/* style/responsible-gambling.css */
:root {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-light: #F8F8F8;
  --text-dark: #1A202C;
  --background-dark: #12161E;
  --background-light: #2A313C;
  --border-color: #3A4452;
  --accent-hover: #E0B500;
}

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

.page-responsible-gambling__banner {
  position: relative;
  width: 100%;
  height: 400px; /* Adjust height as needed */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--text-light);
}

.page-responsible-gambling__banner-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-responsible-gambling__banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-responsible-gambling__banner-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 0 20px;
}

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

.page-responsible-gambling__subtitle {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-responsible-gambling__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-responsible-gambling__cta-button:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
}

.page-responsible-gambling__cta-button--small {
  padding: 12px 25px;
  font-size: 1em;
  margin-top: 20px;
}

.page-responsible-gambling__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.page-responsible-gambling__section:last-of-type {
  border-bottom: none;
}

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

.page-responsible-gambling__section-title {
  font-size: 2.2em;
  color: var(--secondary-color);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 10px;
}

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

.page-responsible-gambling__intro p,
.page-responsible-gambling__tools p,
.page-responsible-gambling__recognition p,
.page-responsible-gambling__support p,
.page-responsible-gambling__age-restriction p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-responsible-gambling__intro strong,
.page-responsible-gambling__tools strong,
.page-responsible-gambling__recognition strong,
.page-responsible-gambling__support strong,
.page-responsible-gambling__age-restriction strong {
  color: var(--secondary-color);
}

.page-responsible-gambling__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-responsible-gambling__list li {
  background-color: var(--background-light);
  border-left: 5px solid var(--secondary-color);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling__list li h3 {
  color: var(--secondary-color);
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-responsible-gambling__list li p {
  font-size: 1em;
  color: var(--text-light);
  margin-bottom: 0;
}

.page-responsible-gambling__list li a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-responsible-gambling__list li a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.page-responsible-gambling__support-organizations li {
  border-left: 5px solid #007bff; /* A different color for support */
}

.page-responsible-gambling__support-organizations li h3 {
  color: #007bff;
}

.page-responsible-gambling__support-organizations li a {
  color: #007bff;
}

.page-responsible-gambling__support-organizations li a:hover {
  color: #0056b3;
}

.page-responsible-gambling__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px 0;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-responsible-gambling__image-centered {
  display: block;
  margin: 30px auto;
  max-width: 80%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* FAQ Styles */
.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--background-light);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--primary-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #2A313C;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--secondary-color);
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: var(--background-light);
  color: var(--text-light);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
}

.faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-responsible-gambling__title {
    font-size: 2.8em;
  }
  .page-responsible-gambling__subtitle {
    font-size: 1.2em;
  }
  .page-responsible-gambling__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-responsible-gambling__banner {
    height: 300px;
  }
  .page-responsible-gambling__title {
    font-size: 2.2em;
  }
  .page-responsible-gambling__subtitle {
    font-size: 1em;
  }
  .page-responsible-gambling__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-responsible-gambling__section {
    padding: 40px 0;
  }
  .page-responsible-gambling__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-responsible-gambling__list li {
    padding: 15px;
  }
  .page-responsible-gambling__list li h3 {
    font-size: 1.3em;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-responsible-gambling__image-full-width,
  .page-responsible-gambling__image-centered {
    margin: 20px 0;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-responsible-gambling__banner {
    height: 250px;
  }
  .page-responsible-gambling__title {
    font-size: 1.8em;
  }
  .page-responsible-gambling__subtitle {
    font-size: 0.9em;
  }
  .page-responsible-gambling__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-responsible-gambling__section-title {
    font-size: 1.5em;
  }
  .page-responsible-gambling__list li h3 {
    font-size: 1.2em;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 18px;
  }
}