.page-responsible-gaming {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Explicitly set for content area */
}

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

.page-responsible-gaming__section {
  padding: 60px 0;
  text-align: center;
}

.page-responsible-gaming__section-title {
  font-size: 36px;
  color: #017439;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-responsible-gaming__subsection-title {
  font-size: 24px;
  color: #017439;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
  text-align: left;
}

.page-responsible-gaming__paragraph {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: left;
  line-height: 1.7;
}

.page-responsible-gaming__link {
  color: #017439;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-responsible-gaming__link:hover {
  color: #005a2d;
}

/* Hero Section */
.page-responsible-gaming__hero-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); /* Ensures content is not hidden by fixed header */
  color: #ffffff;
  overflow: hidden;
}

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

.page-responsible-gaming__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.page-responsible-gaming__hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #ffffff;
}

.page-responsible-gaming__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-responsible-gaming__hero-image-wrapper {
  width: 100%;
  margin-top: 40px;
}

.page-responsible-gaming__hero-image-wrapper img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* CTA Button */
.page-responsible-gaming__cta-button {
  display: inline-block;
  padding: 16px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming__btn-primary {
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
}

.page-responsible-gaming__btn-primary:hover {
  background: #a10707;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-responsible-gaming__btn-secondary {
  background: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-responsible-gaming__btn-secondary:hover {
  background: #f0f0f0;
  color: #005a2d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Feature Grid */
.page-responsible-gaming__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

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

.page-responsible-gaming__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-responsible-gaming__feature-card img {
  width: 100%; /* Ensure card images are large */
  height: auto;
  max-width: 250px; /* Max width for images within cards to prevent them from being too large */
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-responsible-gaming__card-text {
  font-size: 16px;
  color: #555555;
  text-align: center;
}

/* List Styles */
.page-responsible-gaming__list {
  list-style: disc inside;
  text-align: left;
  margin-top: 20px;
  padding-left: 20px;
}

.page-responsible-gaming__list-item {
  font-size: 17px;
  margin-bottom: 10px;
  color: #333333;
}

/* Resource Grid */
.page-responsible-gaming__resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

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

.page-responsible-gaming__resource-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-responsible-gaming__resource-card img {
  width: 100%; /* Ensure card images are large */
  height: auto;
   /* Smaller max-width for support logos */
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: contain;
}

/* FAQ Section */
.page-responsible-gaming__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

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

.page-responsible-gaming__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  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-responsible-gaming__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

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

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

.page-responsible-gaming__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;
}