.page-responsible-gambling {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

.page-responsible-gambling-section {
  padding: 60px 0;
  margin-bottom: 20px;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.page-responsible-gambling-section:nth-child(even) {
  background-color: #f4f4f4;
}

.page-responsible-gambling h1,
.page-responsible-gambling h2 {
  color: #CC0000; /* Primary color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-responsible-gambling h1 {
  font-size: 3.2em;
  line-height: 1.2;
  color: #ffffff; /* White text on hero */
}

.page-responsible-gambling h2 {
  font-size: 2.5em;
  line-height: 1.3;
}

.page-responsible-gambling h3 {
  color: #003366; /* Secondary color */
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-responsible-gambling-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #444444;
}

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

.page-responsible-gambling-hero {
  position: relative;
  width: 100%;
  padding: 80px 0;
  background: linear-gradient(135deg, #CC0000, #003366);
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

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

.page-responsible-gambling-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
}

.page-responsible-gambling-hero-content p {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-responsible-gambling-hero-image {
  width: 100%;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.page-responsible-gambling-hero-image img {
  width: 100%;
  height: auto;
  max-width: 1000px; /* Limit image size within hero */
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

.page-responsible-gambling-cta-button {
  display: inline-block;
  padding: 15px 40px;
  background-color: #FFD700; /* Gold accent */
  color: #003366;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-responsible-gambling-cta-button:hover {
  background-color: #e0b800;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling-importance img,
.page-responsible-gambling-signs img,
.page-responsible-gambling-tools img,
.page-responsible-gambling-advice img,
.page-responsible-gambling-support img,
.page-responsible-gambling-underage img {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section Styling */
.page-responsible-gambling-faq-list {
  margin-top: 30px;
}

.page-responsible-gambling .faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

.page-responsible-gambling .faq-question:hover {
  background: #f5f5f5;
}

.page-responsible-gambling .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: #003366; /* Secondary color for question titles */
  font-weight: 600;
}

.page-responsible-gambling .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #CC0000; /* Primary color for toggle icon */
  transition: transform 0.3s ease;
  line-height: 1;
}

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

.page-responsible-gambling .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
}

.page-responsible-gambling .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
}

.page-responsible-gambling .faq-answer p {
  margin: 0;
  font-size: 1.05em;
  color: #555555;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-responsible-gambling h1 {
    font-size: 2.8em;
  }
  .page-responsible-gambling h2 {
    font-size: 2em;
  }
  .page-responsible-gambling h3 {
    font-size: 1.6em;
  }
  .page-responsible-gambling-hero {
    padding: 60px 0;
  }
  .page-responsible-gambling-hero-content p {
    font-size: 1.1em;
  }
  .page-responsible-gambling-cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .page-responsible-gambling-section {
    padding: 40px 0;
  }
}

@media (max-width: 768px) {
  .page-responsible-gambling h1 {
    font-size: 2.2em;
  }
  .page-responsible-gambling h2 {
    font-size: 1.8em;
  }
  .page-responsible-gambling h3 {
    font-size: 1.4em;
  }
  .page-responsible-gambling p,
  .page-responsible-gambling-list li,
  .page-responsible-gambling .faq-answer p {
    font-size: 1em;
  }
  .page-responsible-gambling-hero {
    padding: 40px 0;
  }
  .page-responsible-gambling-hero-image img {
    max-width: 100%;
  }
  .page-responsible-gambling-cta-button {
    padding: 10px 25px;
    font-size: 1em;
  }
  .page-responsible-gambling .faq-question {
    padding: 15px 20px;
  }
  .page-responsible-gambling .faq-question h3 {
    font-size: 1.1em;
  }
  .page-responsible-gambling .faq-toggle {
    font-size: 20px;
  }
  .page-responsible-gambling .faq-answer {
    padding: 0 20px;
  }
  .page-responsible-gambling .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-responsible-gambling h1 {
    font-size: 1.8em;
  }
  .page-responsible-gambling h2 {
    font-size: 1.6em;
  }
  .page-responsible-gambling h3 {
    font-size: 1.2em;
  }
  .page-responsible-gambling-hero-content p {
    font-size: 0.95em;
  }
  .page-responsible-gambling-cta-button {
    font-size: 0.9em;
    padding: 8px 20px;
  }
  .page-responsible-gambling-list {
    margin-left: 15px;
  }
  .page-responsible-gambling .faq-question h3 {
    font-size: 1em;
  }
}