.page-resources-responsible-gambling {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0;
  background-color: #0A192F;
  line-height: 1.6;
}

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

.page-resources-responsible-gambling__hero-banner {
  background: linear-gradient(135deg, #0A192F 0%, #1a3a6b 100%);
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-resources-responsible-gambling__hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 L 0 10" fill="none" stroke="%23FFD700" stroke-width="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)" opacity="0.05"/></svg>');
  opacity: 0.1;
  z-index: 0;
}

.page-resources-responsible-gambling__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-resources-responsible-gambling__hero-content h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

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

.page-resources-responsible-gambling__hero-image {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 800px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-resources-responsible-gambling__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A192F;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  margin-top: 20px;
}

.page-resources-responsible-gambling__cta-button:hover {
  background-color: #e0b800;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-resources-responsible-gambling__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

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

.page-resources-responsible-gambling__section h2 {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-responsible-gambling__section h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-resources-responsible-gambling__section h3 {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-responsible-gambling__section p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #E0E0E0;
}

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

.page-resources-responsible-gambling__card {
  background-color: #1a2a47;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-responsible-gambling__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-resources-responsible-gambling__card-icon {
  width: 120px; /* Increased size for content images */
  height: 120px; /* Increased size for content images */
  object-fit: contain;
  margin-bottom: 25px;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.page-resources-responsible-gambling__card h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFD700;
  margin-top: 0;
}

.page-resources-responsible-gambling__card h3 a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-responsible-gambling__card h3 a:hover {
  color: #e0b800;
}

.page-resources-responsible-gambling__card p {
  font-size: 1em;
  color: #C0C0C0;
  flex-grow: 1;
}

.page-resources-responsible-gambling__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-resources-responsible-gambling__feature-list li {
  background-color: #1a2a47;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
  gap: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-responsible-gambling__feature-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-resources-responsible-gambling__feature-icon {
  width: 100px; /* Increased size for content images */
  height: 100px; /* Increased size for content images */
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.5));
}

.page-resources-responsible-gambling__feature-list h3 {
  font-size: 1.6em;
  color: #FFD700;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-resources-responsible-gambling__feature-list p {
  font-size: 1em;
  color: #C0C0C0;
  margin-bottom: 0;
}

.page-resources-responsible-gambling__cta-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.page-resources-responsible-gambling__cta-bottom p {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 25px;
}

.page-resources-responsible-gambling__warning-signs h3 {
  color: #DC143C; /* Deep red for warning signs */
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-responsible-gambling__warning-list,
.page-resources-responsible-gambling__safety-tips {
  list-style: none;
  padding: 0;
  margin-left: 20px;
}

.page-resources-responsible-gambling__warning-list li,
.page-resources-responsible-gambling__safety-tips li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #E0E0E0;
}

.page-resources-responsible-gambling__warning-list li::before {
  content: '⚠️'; /* Warning emoji */
  position: absolute;
  left: 0;
  color: #DC143C;
  font-size: 1.2em;
  top: 0;
}

.page-resources-responsible-gambling__safety-tips li::before {
  content: '✅'; /* Checkmark emoji */
  position: absolute;
  left: 0;
  color: #FFD700;
  font-size: 1.2em;
  top: 0;
}

/* FAQ Section Styles */
.page-resources-responsible-gambling__faq-list {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #1a2a47;
  border: 1px solid #2a3e61;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.faq-question:hover {
  background-color: #2a3e61;
  border-color: #FFD700;
}

.faq-question h3 {
  font-size: 1.3em;
  color: #FFD700;
  margin: 0;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  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: #0A192F;
  color: #E0E0E0;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px 25px;
  border: 1px solid #2a3e61;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #C0C0C0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources-responsible-gambling__hero-content h1 {
    font-size: 2.8em;
  }
  .page-resources-responsible-gambling__hero-content p {
    font-size: 1.1em;
  }
  .page-resources-responsible-gambling__section h2 {
    font-size: 2em;
  }
  .page-resources-responsible-gambling__section h3 {
    font-size: 1.6em;
  }
  .page-resources-responsible-gambling__grid {
    grid-template-columns: 1fr;
  }
  .page-resources-responsible-gambling__feature-list li {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .page-resources-responsible-gambling__feature-icon {
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .page-resources-responsible-gambling__hero-banner {
    padding: 60px 15px;
  }
  .page-resources-responsible-gambling__hero-content h1 {
    font-size: 2.2em;
  }
  .page-resources-responsible-gambling__hero-content p {
    font-size: 1em;
  }
  .page-resources-responsible-gambling__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources-responsible-gambling__section {
    padding: 40px 0;
  }
  .page-resources-responsible-gambling__section h2 {
    font-size: 1.8em;
  }
  .page-resources-responsible-gambling__section h3 {
    font-size: 1.4em;
  }
  .page-resources-responsible-gambling__card-icon,
  .page-resources-responsible-gambling__feature-icon {
    width: 80px;
    height: 80px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-resources-responsible-gambling__warning-list li,
  .page-resources-responsible-gambling__safety-tips li {
    font-size: 0.95em;
  }
}