.page-responsible-gaming {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  line-height: 1.6;
}

.page-responsible-gaming__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); /* Fixed header offset */
  background: linear-gradient(135deg, #26A9E0, #FFFFFF);
  color: #333333; /* Default text color for mixed background */
}

.page-responsible-gaming__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-responsible-gaming__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-responsible-gaming__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-responsible-gaming__hero-content h1 {
  font-size: 38px;
  color: #000000;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-responsible-gaming__hero-content p {
  font-size: 18px;
  color: #333333;
  max-width: 800px;
  margin: 0 auto;
}

.page-responsible-gaming__section {
  padding: 60px 20px;
  background: #ffffff;
}

.page-responsible-gaming__container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-responsible-gaming__section-title {
  font-size: 32px;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-responsible-gaming__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #26A9E0;
  border-radius: 2px;
}

.page-responsible-gaming__sub-title {
  font-size: 24px;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-responsible-gaming__paragraph {
  font-size: 16px;
  margin-bottom: 20px;
  color: #333333;
}

.page-responsible-gaming__paragraph a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-responsible-gaming__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  padding: 0;
}

.page-responsible-gaming__list-item {
  font-size: 16px;
  margin-bottom: 10px;
  color: #333333;
}

.page-responsible-gaming__list-item strong {
  color: #000000;
}

.page-responsible-gaming__image-wrapper {
  margin: 30px 0;
  text-align: center;
}

.page-responsible-gaming__image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto; /* Center the image */
}

.page-responsible-gaming__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-responsible-gaming__card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-responsible-gaming__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-responsible-gaming__card-title {
  font-size: 20px;
  color: #26A9E0;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-responsible-gaming__card-text {
  font-size: 15px;
  color: #555555;
}

.page-responsible-gaming__cta-section {
  background: #26A9E0;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 60px;
  margin-bottom: 60px;
}

.page-responsible-gaming__cta-title {
  font-size: 34px;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-responsible-gaming__cta-description {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

.page-responsible-gaming__cta-description a {
  color: #FFFFFF;
  text-decoration: underline;
}

.page-responsible-gaming__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
  justify-content: center;
  gap: 20px;
}

.page-responsible-gaming__btn-primary,
.page-responsible-gaming__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-responsible-gaming__btn-primary {
  background: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-responsible-gaming__btn-primary:hover {
  background: #d46c06;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-responsible-gaming__btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* FAQ Section Styles */
.page-responsible-gaming__faq-list {
  margin-top: 40px;
  margin-bottom: 60px;
}

/* FAQ container style */
.page-responsible-gaming__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

/* FAQ default state - answer hidden */
.page-responsible-gaming__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: #333333;
}