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

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

/* Main Banner Section */
.page-resources-responsible-gambling__main-banner-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);
  background-color: #f0f0f0;
  overflow: hidden;
}

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

.page-resources-responsible-gambling__main-banner-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-responsible-gambling__main-banner-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-resources-responsible-gambling__main-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-responsible-gambling__main-title {
  font-size: 38px;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-responsible-gambling__main-description {
  font-size: 18px;
  color: #555555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-responsible-gambling__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-resources-responsible-gambling__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-responsible-gambling__btn-register {
  background: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-resources-responsible-gambling__btn-register:hover {
  background: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-responsible-gambling__btn-login {
  background: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-resources-responsible-gambling__btn-login:hover {
  background: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* General Section Styles */
.page-resources-responsible-gambling__content-section {
  padding: 60px 0;
  border-bottom: 1px solid #eeeeee;
}

.page-resources-responsible-gambling__content-section:last-of-type {
  border-bottom: none;
}

.page-resources-responsible-gambling__section-title {
  font-size: 32px;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources-responsible-gambling__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

.page-resources-responsible-gambling__text-block strong {
  color: #017439;
}

/* Feature Grid for Protection Measures & Self-Control */
.page-resources-responsible-gambling__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-resources-responsible-gambling__feature-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-responsible-gambling__feature-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-resources-responsible-gambling__feature-title {
  font-size: 22px;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-responsible-gambling__feature-description {
  font-size: 16px;
  color: #555555;
  text-align: justify;
}

/* List Styles */
.page-resources-responsible-gambling__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 17px;
  color: #333333;
}

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

/* Contact Info */
.page-resources-responsible-gambling__contact-info {
  text-align: center;
  margin-top: 30px;
  font-size: 17px;
}

.page-resources-responsible-gambling__contact-info p {
  margin-bottom: 10px;
}

.page-resources-responsible-gambling__contact-link {
  color: #017439;
  text-decoration: underline;
  font-weight: bold;
}

.page-resources-responsible-gambling__contact-link:hover {
  color: #005f2f;
}

.page-resources-responsible-gambling__support-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Background Colors */
.page-resources-responsible-gambling__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-resources-responsible-gambling__dark-bg .page-resources-responsible-gambling__section-title,
.page-resources-responsible-gambling__dark-bg .page-resources-responsible-gambling__feature-title {
  color: #ffffff;
}

.page-resources-responsible-gambling__dark-bg .page-resources-responsible-gambling__feature-item {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.page-resources-responsible-gambling__dark-bg .page-resources-responsible-gambling__feature-description {
  color: #f0f0f0;
}

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

/* FAQ Section */
.page-resources-responsible-gambling__faq-section {
  background-color: #f0f5f0;
}

.page-resources-responsible-gambling__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-responsible-gambling__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  background: #fdfdfd;
  color: #555555;
}

.page-resources-responsible-gambling__faq-item.active .page-resources-responsible-gambling__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: #fdfdfd;
  border-radius: 0 0 8px 8px;
}

.page-resources-responsible-gambling__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-responsible-gambling__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-responsible-gambling__faq-question:active {
  background: #eeeeee;
}

.page-resources-responsible-gambling__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #333333;
  pointer-events: none;
}

.page-resources-responsible-gambling__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #017439;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

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

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

  .page-resources-responsible-gambling__main-banner-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-responsible-gambling__main-title {
    font-size: 28px;
  }

  .page-resources-responsible-gambling__main-description {
    font-size: 16px;
  }

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

  .page-resources-responsible-gambling__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-responsible-gambling__content-section {
    padding: 40px 0;
  }

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

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

  .page-resources-responsible-gambling__text-block {
    font-size: 16px;
  }

  .page-resources-responsible-gambling__feature-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-resources-responsible-gambling__feature-item {
    padding: 25px;
  }

  .page-resources-responsible-gambling__feature-title {
    font-size: 20px;
  }

  .page-resources-responsible-gambling__list {
    font-size: 16px;
    margin-left: 15px;
  }

  .page-resources-responsible-gambling__contact-info {
    font-size: 16px;
  }

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

  .page-resources-responsible-gambling__faq-question h3 {
    font-size: 16px;
  }

  .page-resources-responsible-gambling__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-resources-responsible-gambling__faq-item.active .page-resources-responsible-gambling__faq-answer {
    padding: 15px !important;
  }

  .page-resources-responsible-gambling img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}