/* style/responsible-gaming.css */
.page-responsible-gaming {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f7f6;
}

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

.page-responsible-gaming__hero-banner {
  background: linear-gradient(135deg, var(--primary-color), #1A3E5C);
  padding: 80px 0;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-responsible-gaming__hero-image {
  width: 100%;
  height: 400px; /* Adjusted height for content image, not hero banner */
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  opacity: 0.3;
}

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

.page-responsible-gaming__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

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

.page-responsible-gaming__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-responsible-gaming__cta-button--small {
  padding: 12px 25px;
  font-size: 0.95em;
}

.page-responsible-gaming__section {
  padding: 60px 0;
}

.page-responsible-gaming__section:nth-of-type(even) {
  background-color: #e9ecef;
}

.page-responsible-gaming__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

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

.page-responsible-gaming__sub-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

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

.page-responsible-gaming__text-block {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-responsible-gaming__list {
  list-style: disc inside;
  padding-left: 20px;
  margin-top: 15px;
  color: #555;
}

.page-responsible-gaming__list li {
  margin-bottom: 8px;
}

.page-responsible-gaming__content-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-responsible-gaming__content-flex--reverse {
  flex-direction: row-reverse;
}

.page-responsible-gaming__content-image {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-responsible-gaming__text-content {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
}

.page-responsible-gaming__text-content p {
  margin-bottom: 15px;
  color: #444;
}

.page-responsible-gaming__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-responsible-gaming__contact-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #444;
}

/* FAQ styles */
.page-responsible-gaming__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fdfdfd;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--primary-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);
  color: var(--primary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  color: #555;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 15px 25px;
  border-top: 1px solid #e0e0e0;
}

.faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-responsible-gaming__main-title {
    font-size: 2.5em;
  }
  .page-responsible-gaming__section-title {
    font-size: 2em;
  }
  .page-responsible-gaming__sub-title {
    font-size: 1.5em;
  }
  .page-responsible-gaming__content-flex {
    flex-direction: column;
    gap: 30px;
  }
  .page-responsible-gaming__content-flex--reverse {
    flex-direction: column;
  }
  .page-responsible-gaming__content-image,
  .page-responsible-gaming__text-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-responsible-gaming__hero-banner {
    padding: 60px 0;
  }
  .page-responsible-gaming__main-title {
    font-size: 2em;
  }
  .page-responsible-gaming__hero-description {
    font-size: 1em;
  }
  .page-responsible-gaming__section {
    padding: 40px 0;
  }
  .page-responsible-gaming__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-responsible-gaming__sub-title {
    font-size: 1.3em;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 12px 20px;
  }
  .page-responsible-gaming__cta-button {
    padding: 12px 25px;
    font-size: 0.95em;
  }
  .page-responsible-gaming__hero-image {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .page-responsible-gaming__main-title {
    font-size: 1.8em;
  }
  .page-responsible-gaming__hero-description {
    font-size: 0.9em;
  }
  .page-responsible-gaming__section-title {
    font-size: 1.6em;
  }
  .page-responsible-gaming__sub-title {
    font-size: 1.2em;
  }
  .page-responsible-gaming__list,
  .page-responsible-gaming__text-content p {
    font-size: 0.9em;
  }
  .page-responsible-gaming__hero-image {
    height: 250px;
  }
}