/* style/resources-fcb8-responsible-gaming.css */
.page-resources-fcb8-responsible-gaming {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-resources-fcb8-responsible-gaming__hero-section {
  position: relative;
  width: 100%;
  padding-top: var(--header-offset, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-resources-fcb8-responsible-gaming__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.page-resources-fcb8-responsible-gaming__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-resources-fcb8-responsible-gaming__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

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

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

.page-resources-fcb8-responsible-gaming__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff; /* Light background for content */
  color: #333333; /* Dark text for light background */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: -80px; /* Overlap with hero for visual flow */
  position: relative;
  z-index: 2;
}

.page-resources-fcb8-responsible-gaming__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  margin-bottom: 30px;
  text-align: center;
}

.page-resources-fcb8-responsible-gaming__sub-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-fcb8-responsible-gaming__paragraph {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-resources-fcb8-responsible-gaming__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-resources-fcb8-responsible-gaming__list-item {
  margin-bottom: 10px;
}

.page-resources-fcb8-responsible-gaming__card-group {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 50px;
}

.page-resources-fcb8-responsible-gaming__card {
  flex: 1 1 calc(50% - 15px);
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #26A9E0;
  color: #333333;
  min-width: 300px;
  box-sizing: border-box;
}

.page-resources-fcb8-responsible-gaming__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-resources-fcb8-responsible-gaming__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid #26A9E0;
  box-sizing: border-box;
}

.page-resources-fcb8-responsible-gaming__btn-primary:hover {
  background-color: #1e87b8;
  border-color: #1e87b8;
}

.page-resources-fcb8-responsible-gaming__cta-wrapper {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

.page-resources-fcb8-responsible-gaming__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.page-resources-fcb8-responsible-gaming__image-text-block--reversed {
  flex-direction: row-reverse;
}

.page-resources-fcb8-responsible-gaming__image-text-block img,
.page-resources-fcb8-responsible-gaming__main-image {
  flex: 1 1 40%;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  display: block;
}

.page-resources-fcb8-responsible-gaming__text-content {
  flex: 1 1 50%;
}

.page-resources-fcb8-responsible-gaming__main-image {
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  display: block;
}

/* FAQ Section */
.page-resources-fcb8-responsible-gaming__faq-section {
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-resources-fcb8-responsible-gaming__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: #fefefe;
}

.page-resources-fcb8-responsible-gaming__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #ffffff;
  cursor: pointer;
  font-weight: bold;
  color: #26A9E0;
  transition: background-color 0.3s ease;
}

.page-resources-fcb8-responsible-gaming__faq-question:hover {
  background-color: #f0f8ff;
}

.page-resources-fcb8-responsible-gaming__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #333333;
}

.page-resources-fcb8-responsible-gaming__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

.page-resources-fcb8-responsible-gaming__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

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

.page-resources-fcb8-responsible-gaming a {
  color: #26A9E0;
  text-decoration: none;
}

.page-resources-fcb8-responsible-gaming a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-fcb8-responsible-gaming__hero-title {
    font-size: 2.5em;
  }
  .page-resources-fcb8-responsible-gaming__section-title {
    font-size: 2em;
  }
  .page-resources-fcb8-responsible-gaming__sub-title {
    font-size: 1.5em;
  }
  .page-resources-fcb8-responsible-gaming__card {
    flex: 1 1 calc(100% - 15px);
  }
  .page-resources-fcb8-responsible-gaming__image-text-block,
  .page-resources-fcb8-responsible-gaming__image-text-block--reversed {
    flex-direction: column;
  }
  .page-resources-fcb8-responsible-gaming__image-text-block img,
  .page-resources-fcb8-responsible-gaming__main-image {
    max-width: 100%;
  }
  .page-resources-fcb8-responsible-gaming__text-content {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .page-resources-fcb8-responsible-gaming {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-fcb8-responsible-gaming__hero-section {
    min-height: 400px;
  }
  .page-resources-fcb8-responsible-gaming__hero-title {
    font-size: 2em;
  }
  .page-resources-fcb8-responsible-gaming__hero-description {
    font-size: 1em;
  }
  .page-resources-fcb8-responsible-gaming__content-area {
    padding: 30px 15px;
    margin-top: -50px;
  }
  .page-resources-fcb8-responsible-gaming__section-title {
    font-size: 1.8em;
  }
  .page-resources-fcb8-responsible-gaming__sub-title {
    font-size: 1.3em;
  }
  .page-resources-fcb8-responsible-gaming__paragraph {
    font-size: 1em;
  }
  .page-resources-fcb8-responsible-gaming__card {
    padding: 20px;
  }
  .page-resources-fcb8-responsible-gaming__card-title {
    font-size: 1.3em;
  }
  .page-resources-fcb8-responsible-gaming__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-fcb8-responsible-gaming__cta-wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-fcb8-responsible-gaming__image-text-block img,
  .page-resources-fcb8-responsible-gaming__main-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-resources-fcb8-responsible-gaming__image-text-block,
  .page-resources-fcb8-responsible-gaming__image-text-block--reversed {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    gap: 20px;
  }
  .page-resources-fcb8-responsible-gaming__text-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-resources-fcb8-responsible-gaming__faq-item {
    margin-left: 15px;
    margin-right: 15px;
  }
  .page-resources-fcb8-responsible-gaming__faq-question {
    padding: 15px;
  }
  .page-resources-fcb8-responsible-gaming__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-fcb8-responsible-gaming__hero-title {
    font-size: 1.8em;
  }
  .page-resources-fcb8-responsible-gaming__section-title {
    font-size: 1.6em;
  }
  .page-resources-fcb8-responsible-gaming__card-group {
    gap: 20px;
  }
}