/* style/resources-responsible-gambling.css */
.page-resources-responsible-gambling {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #FFFFFF; /* Default body background */
}

.page-resources-responsible-gambling__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-responsible-gambling__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-resources-responsible-gambling__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-resources-responsible-gambling__hero-section {
  padding: 80px 0;
  padding-top: var(--header-offset, 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources-responsible-gambling__hero-content {
  max-width: 800px;
  margin: 0 auto;
  z-index: 1;
}

.page-resources-responsible-gambling__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

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

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

.page-resources-responsible-gambling__btn-primary,
.page-resources-responsible-gambling__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-responsible-gambling__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-resources-responsible-gambling__btn-primary:hover {
  background-color: #D46B00;
  border-color: #D46B00;
}

.page-resources-responsible-gambling__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-resources-responsible-gambling__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #26A9E0;
}

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

.page-resources-responsible-gambling__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  display: block;
}

.page-resources-responsible-gambling__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-resources-responsible-gambling__commitment-section,
.page-resources-responsible-gambling__signs-section,
.page-resources-responsible-gambling__tools-section,
.page-resources-responsible-gambling__tips-section,
.page-resources-responsible-gambling__minor-protection-section,
.page-resources-responsible-gambling__myths-section,
.page-resources-responsible-gambling__support-section,
.page-resources-responsible-gambling__faq-section,
.page-resources-responsible-gambling__cta-bottom-section {
  padding: 60px 0;
}

.page-resources-responsible-gambling__commitment-content,
.page-resources-responsible-gambling__signs-section p,
.page-resources-responsible-gambling__minor-protection-section p,
.page-resources-responsible-gambling__myths-section p {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-responsible-gambling__commitment-image,
.page-resources-responsible-gambling__signs-image,
.page-resources-responsible-gambling__tools-image,
.page-resources-responsible-gambling__tips-image,
.page-resources-responsible-gambling__support-image {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-responsible-gambling__sign-list,
.page-resources-responsible-gambling__tip-list,
.page-resources-responsible-gambling__myth-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.1em;
  padding-left: 20px;
}

.page-resources-responsible-gambling__sign-item,
.page-resources-responsible-gambling__tip-item,
.page-resources-responsible-gambling__myth-item {
  margin-bottom: 10px;
}

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

.page-resources-responsible-gambling__tool-card {
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-resources-responsible-gambling__tool-card:hover {
  transform: translateY(-10px);
}

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

.page-resources-responsible-gambling__tool-card p {
  font-size: 1em;
  color: #555555;
}

.page-resources-responsible-gambling__tools-cta {
  text-align: center;
  margin-top: 40px;
}

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

.page-resources-responsible-gambling__support-card {
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-resources-responsible-gambling__support-card p {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources-responsible-gambling__faq-list {
  margin-top: 40px;
}

.page-resources-responsible-gambling__faq-item {
  background-color: #F9F9F9;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-responsible-gambling__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #FFFFFF;
  color: #26A9E0;
  border-bottom: 1px solid #E0E0E0;
  list-style: none;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.page-resources-responsible-gambling__faq-question::-webkit-details-marker {
  display: none;
}

.page-resources-responsible-gambling__faq-question:hover {
  background-color: #F0F8FF;
}

.page-resources-responsible-gambling__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-resources-responsible-gambling__faq-item[open] .page-resources-responsible-gambling__faq-toggle {
  content: '−';
}

.page-resources-responsible-gambling__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
  background-color: #F9F9F9;
}

.page-resources-responsible-gambling__cta-bottom-section {
  text-align: center;
}

.page-resources-responsible-gambling__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #F0F0F0;
}

.page-resources-responsible-gambling__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Images */
.page-resources-responsible-gambling img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-resources-responsible-gambling__hero-title {
    font-size: 2.5em;
  }

  .page-resources-responsible-gambling__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-responsible-gambling {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-responsible-gambling__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-responsible-gambling__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-resources-responsible-gambling__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-resources-responsible-gambling__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-responsible-gambling__btn-primary,
  .page-resources-responsible-gambling__btn-secondary {
    padding: 12px 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: auto;
    margin-right: auto;
  }

  .page-resources-responsible-gambling__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-responsible-gambling__commitment-section,
  .page-resources-responsible-gambling__signs-section,
  .page-resources-responsible-gambling__tools-section,
  .page-resources-responsible-gambling__tips-section,
  .page-resources-responsible-gambling__minor-protection-section,
  .page-resources-responsible-gambling__myths-section,
  .page-resources-responsible-gambling__support-section,
  .page-resources-responsible-gambling__faq-section,
  .page-resources-responsible-gambling__cta-bottom-section {
    padding: 40px 0;
  }

  .page-resources-responsible-gambling__container {
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-responsible-gambling__tools-grid,
  .page-resources-responsible-gambling__support-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-responsible-gambling__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-resources-responsible-gambling__faq-answer {
    padding: 15px 20px;
  }

  .page-resources-responsible-gambling__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Mobile image specific styles */
  .page-resources-responsible-gambling img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-responsible-gambling__hero-image-wrapper,
  .page-resources-responsible-gambling__commitment-content,
  .page-resources-responsible-gambling__signs-section,
  .page-resources-responsible-gambling__tools-section,
  .page-resources-responsible-gambling__tips-section,
  .page-resources-responsible-gambling__minor-protection-section,
  .page-resources-responsible-gambling__myths-section,
  .page-resources-responsible-gambling__support-section,
  .page-resources-responsible-gambling__faq-section,
  .page-resources-responsible-gambling__cta-bottom-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  .page-resources-responsible-gambling__tool-card,
  .page-resources-responsible-gambling__support-card {
    padding: 20px;
  }

  .page-resources-responsible-gambling__tool-title,
  .page-resources-responsible-gambling__card-title {
    font-size: 1.3em;
  }
}