.page-responsible-gambling {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--black-color); /* Inherit from shared.css */
}

.page-responsible-gambling__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.page-responsible-gambling__hero-content {
  max-width: 900px;
  z-index: 1;
  margin-bottom: 40px;
}

.page-responsible-gambling__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
}

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

.page-responsible-gambling__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-responsible-gambling__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.3;
}

.page-responsible-gambling__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%);
}

.page-responsible-gambling__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff;
  color: #333333;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.page-responsible-gambling__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 15px;
}

.page-responsible-gambling__sub-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-responsible-gambling__paragraph {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-responsible-gambling__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-responsible-gambling__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-responsible-gambling__btn-primary,
.page-responsible-gambling__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

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

.page-responsible-gambling__btn-primary:hover {
  background-color: #1a7fb3;
  border-color: #1a7fb3;
}

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

.page-responsible-gambling__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1a7fb3;
}

.page-responsible-gambling__image-text-layout {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-responsible-gambling__image-text-layout--reverse {
  flex-direction: row-reverse;
}

.page-responsible-gambling__image-inline {
  width: 50%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-responsible-gambling__text-block {
  width: 50%;
}

.page-responsible-gambling__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 40px;
  margin-bottom: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-responsible-gambling__faq-section {
  background-color: #1a1a1a; /* Dark background for FAQ */
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.page-responsible-gambling__faq-section .page-responsible-gambling__section-title {
  color: #26A9E0;
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.page-responsible-gambling__faq-container {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-responsible-gambling__faq-item {
  background-color: #2c2c2c;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-responsible-gambling__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  background-color: #3a3a3a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-responsible-gambling__faq-question:hover {
  background-color: #4a4a4a;
}

.page-responsible-gambling__faq-title {
  margin: 0;
  color: #ffffff;
}

.page-responsible-gambling__faq-toggle {
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-responsible-gambling__faq-item.active .page-responsible-gambling__faq-toggle {
  transform: rotate(45deg);
}

.page-responsible-gambling__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #2c2c2c;
  color: #e0e0e0;
}

.page-responsible-gambling__faq-item.active .page-responsible-gambling__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px !important;
}

.page-responsible-gambling__faq-answer .page-responsible-gambling__paragraph {
  margin-bottom: 0;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-responsible-gambling__hero-title {
    font-size: 2.5em;
  }
  .page-responsible-gambling__section-title {
    font-size: 2em;
  }
  .page-responsible-gambling__sub-title {
    font-size: 1.5em;
  }
  .page-responsible-gambling__image-text-layout {
    flex-direction: column;
    gap: 20px;
  }
  .page-responsible-gambling__image-inline,
  .page-responsible-gambling__text-block {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-responsible-gambling__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-responsible-gambling__hero-title {
    font-size: 1.8em;
  }
  .page-responsible-gambling__hero-description {
    font-size: 1em;
  }
  .page-responsible-gambling__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-responsible-gambling__btn-primary,
  .page-responsible-gambling__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-responsible-gambling__content-area,
  .page-responsible-gambling__faq-section {
    padding: 30px 15px;
  }
  .page-responsible-gambling__section-title {
    font-size: 1.8em;
  }
  .page-responsible-gambling__sub-title {
    font-size: 1.3em;
  }
  .page-responsible-gambling__paragraph,
  .page-responsible-gambling__list-item {
    font-size: 1em;
  }
  .page-responsible-gambling__image-inline,
  .page-responsible-gambling__image-full-width {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-responsible-gambling__image-text-layout,
  .page-responsible-gambling__text-block,
  .page-responsible-gambling__faq-container,
  .page-responsible-gambling__faq-item,
  .page-responsible-gambling__hero-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  .page-responsible-gambling__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-responsible-gambling__faq-answer {
    padding: 15px !important;
  }
}