.page-responsible-gambling {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text for readability */
  line-height: 1.6;
  background-color: #f8f9fa; /* Light background */
}

.page-responsible-gambling__hero {
  position: relative;
  width: 100%;
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  background: linear-gradient(135deg, #007bff, #0056b3); /* Darker blue gradient for contrast */
}

.page-responsible-gambling__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-responsible-gambling__hero-image {
  width: 100%;
  max-width: 800px; /* Adjust as needed */
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-responsible-gambling__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-responsible-gambling__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff; /* White text on dark background */
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-responsible-gambling__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #e0e0e0; /* Slightly off-white for description */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-responsible-gambling__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background-color: #ffc107; /* Secondary color for CTA */
  color: #212529; /* Dark text on bright yellow for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-responsible-gambling__cta-button:hover {
  background-color: #e0a800; /* Darker yellow on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling__section {
  padding: 60px 0;
  border-bottom: 1px solid #e9ecef;
}

.page-responsible-gambling__section:last-of-type {
  border-bottom: none;
}

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

.page-responsible-gambling__section-title {
  font-size: 2.5em;
  color: #007bff; /* Primary color for section titles */
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-responsible-gambling__section p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #495057;
}

.page-responsible-gambling__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #495057;
}

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

.page-responsible-gambling__ordered-list {
  list-style: decimal inside;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #495057;
}

.page-responsible-gambling__ordered-list li {
  margin-bottom: 10px;
}

.page-responsible-gambling__image-content {
  display: block;
  max-width: 80%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-responsible-gambling__tool-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-responsible-gambling__tool-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-responsible-gambling__tool-card h3 {
  font-size: 1.6em;
  color: #007bff;
  margin-top: 20px;
  margin-bottom: 15px;
}

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

.page-responsible-gambling__tool-icon {
  width: 150px; /* Increased size to meet 200px min requirement in content */
  height: 150px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-responsible-gambling__faq {
  background-color: #e9f5ff; /* Light blue background for FAQ section */
  padding: 80px 0;
}

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

/* FAQ styles */
.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #d0e0f0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f0f8ff;
}

.faq-question h3 {
  font-size: 1.25em;
  color: #007bff;
  margin: 0;
  flex-grow: 1;
}

.faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #007bff;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background-color: #fdfdfd;
  color: #333333;
  font-size: 1.1em;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
  border-top: 1px solid #e0e0e0;
}

.page-responsible-gambling__cta-final {
  background: linear-gradient(90deg, #007bff, #0056b3); /* Dark blue gradient */
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.page-responsible-gambling__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-responsible-gambling__cta-final .page-responsible-gambling__section-title {
  color: #ffffff;
  font-size: 2.8em;
  margin-bottom: 25px;
}

.page-responsible-gambling__cta-final p {
  color: #e0e0e0;
  font-size: 1.2em;
  max-width: 800px;
  margin-bottom: 30px;
}

.page-responsible-gambling__cta-button--large {
  padding: 20px 60px;
  font-size: 1.4em;
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-responsible-gambling__hero-title {
    font-size: 2.8em;
  }
  .page-responsible-gambling__section-title {
    font-size: 2.2em;
  }
  .page-responsible-gambling__tool-card h3 {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-responsible-gambling__hero {
    padding: 60px 0;
  }
  .page-responsible-gambling__hero-title {
    font-size: 2.2em;
  }
  .page-responsible-gambling__hero-description {
    font-size: 1.1em;
  }
  .page-responsible-gambling__cta-button {
    padding: 15px 35px;
    font-size: 1.1em;
  }
  .page-responsible-gambling__section {
    padding: 40px 0;
  }
  .page-responsible-gambling__section-title {
    font-size: 1.8em;
  }
  .page-responsible-gambling__section p, .page-responsible-gambling__list, .page-responsible-gambling__ordered-list {
    font-size: 1em;
  }
  .page-responsible-gambling__grid {
    grid-template-columns: 1fr;
  }
  .page-responsible-gambling__tool-card {
    padding: 25px;
  }
  .page-responsible-gambling__tool-card h3 {
    font-size: 1.3em;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 1.5em;
  }
  .faq-answer {
    padding: 15px 20px;
  }
  .page-responsible-gambling__cta-final .page-responsible-gambling__section-title {
    font-size: 2.2em;
  }
  .page-responsible-gambling__cta-final p {
    font-size: 1.1em;
  }
  .page-responsible-gambling__cta-button--large {
    padding: 15px 40px;
    font-size: 1.2em;
  }
  .page-responsible-gambling__tool-icon {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 480px) {
  .page-responsible-gambling__hero-title {
    font-size: 1.8em;
  }
  .page-responsible-gambling__hero-description {
    font-size: 0.95em;
  }
  .page-responsible-gambling__section-title {
    font-size: 1.6em;
  }
  .page-responsible-gambling__tool-card h3 {
    font-size: 1.2em;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 1.3em;
  }
  .page-responsible-gambling__cta-final .page-responsible-gambling__section-title {
    font-size: 1.8em;
  }
  .page-responsible-gambling__cta-button--large {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .page-responsible-gambling__image-content {
    max-width: 95%;
  }
}