.page-responsible-gambling {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Text color for dark body background #1a1a1a */
  background-color: #1a1a1a;
  padding-bottom: 60px;
}

.page-responsible-gambling__hero-section {
  position: relative;
  width: 100%;
  height: 70vh; /* Adjust height for hero section */
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

.page-responsible-gambling__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-responsible-gambling__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-responsible-gambling__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-responsible-gambling__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffc107; /* Highlight with accent color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-responsible-gambling__hero-button {
  display: inline-block;
  background-color: #007bff; /* Primary brand color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #007bff;
}

.page-responsible-gambling__hero-button:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.page-responsible-gambling__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-responsible-gambling__section-title {
  font-size: 2.5em;
  color: #ffc107; /* Accent color for titles */
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 3px solid #007bff;
  padding-bottom: 15px;
  display: inline-block;
  width: auto;
  max-width: 100%;
}

.page-responsible-gambling__intro-section, 
.page-responsible-gambling__signs-section, 
.page-responsible-gambling__tools-section, 
.page-responsible-gambling__tips-section, 
.page-responsible-gambling__support-section, 
.page-responsible-gambling__underage-section, 
.page-responsible-gambling__faq-section, 
.page-responsible-gambling__cta-section {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for content sections */
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 40px;
}

.page-responsible-gambling__text-block {
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-responsible-gambling__text-block p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

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

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

.page-responsible-gambling__sub-list {
  list-style-type: circle;
  margin-left: 20px;
  margin-top: 10px;
}

.page-responsible-gambling__image {
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  margin: 0 20px 20px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  float: left;
}

.page-responsible-gambling__image--right {
  float: right;
  margin: 0 0 20px 20px;
}

.page-responsible-gambling__tools-section::after,
.page-responsible-gambling__support-section::after {
  content: "";
  display: table;
  clear: both;
}

.page-responsible-gambling__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
}

.page-responsible-gambling__button--primary {
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
}

.page-responsible-gambling__button--primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.page-responsible-gambling__button--secondary {
  background-color: #ffc107;
  color: #1a1a1a; /* Dark text for light background */
  border: 2px solid #ffc107;
}

.page-responsible-gambling__button--secondary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

/* FAQ Styles */
.page-responsible-gambling__faq-container {
  margin-top: 30px;
}

.page-responsible-gambling__faq-item {
  background-color: rgba(0, 123, 255, 0.1); /* Light blue tint */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-responsible-gambling__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #007bff; /* Primary brand color */
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-responsible-gambling__faq-question:hover {
  background-color: #0056b3;
}

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

.page-responsible-gambling__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

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

.page-responsible-gambling__faq-answer p {
  margin: 0;
  font-size: 1em;
}

.page-responsible-gambling__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #007bff; /* Primary color for CTA */
  color: #ffffff;
}

.page-responsible-gambling__cta-section .page-responsible-gambling__section-title {
  color: #ffc107;
  border-bottom-color: #ffc107;
}

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

.page-responsible-gambling__cta-note {
  margin-top: 30px;
  font-style: italic;
  font-size: 1.1em;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-responsible-gambling__hero-title {
    font-size: 2.8em;
  }
  .page-responsible-gambling__section-title {
    font-size: 2em;
  }
  .page-responsible-gambling__image {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .page-responsible-gambling__hero-section {
    height: auto;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-responsible-gambling__hero-title {
    font-size: 2.2em;
  }

  .page-responsible-gambling__hero-description {
    font-size: 1em;
  }

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

  .page-responsible-gambling__content-area {
    padding: 30px 15px;
  }

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

  .page-responsible-gambling__intro-section, 
  .page-responsible-gambling__signs-section, 
  .page-responsible-gambling__tools-section, 
  .page-responsible-gambling__tips-section, 
  .page-responsible-gambling__support-section, 
  .page-responsible-gambling__underage-section, 
  .page-responsible-gambling__faq-section, 
  .page-responsible-gambling__cta-section {
    padding: 25px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-responsible-gambling__text-block p, 
  .page-responsible-gambling__list li {
    font-size: 1em;
  }

  .page-responsible-gambling__image {
    float: none;
    margin: 20px auto !important;
    display: block !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-responsible-gambling__button,
  .page-responsible-gambling__button--primary,
  .page-responsible-gambling__button--secondary {
    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-responsible-gambling__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

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

  .page-responsible-gambling__faq-item.active .page-responsible-gambling__faq-answer {
    padding: 10px 20px;
  }

  .page-responsible-gambling__cta-section {
    padding: 40px 15px;
  }
}