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

.page-responsible-gambling a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-responsible-gambling a:hover {
  color: var(--secondary-color);
}

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

.page-responsible-gambling h1, .page-responsible-gambling h2, .page-responsible-gambling h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-responsible-gambling h1 {
  font-size: 2.8em;
  text-align: center;
  color: #ffffff;
  margin-top: 0;
  line-height: 1.2;
}

.page-responsible-gambling h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-responsible-gambling h3 {
  font-size: 1.6em;
  margin-top: 25px;
  margin-bottom: 15px;
}

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

/* Hero Section */
.page-responsible-gambling .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #001a33 100%); /* Darker gradient for text contrast */
}

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

.page-responsible-gambling .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-responsible-gambling .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: #ffffff;
}

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

.page-responsible-gambling .hero-content a {
  color: var(--secondary-color);
  font-weight: bold;
}

.page-responsible-gambling .hero-content a:hover {
  color: #ffffff;
}

.page-responsible-gambling .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-responsible-gambling .cta-button:hover {
  background: #ffc200;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling .cta-button.secondary {
  background: var(--primary-color);
  color: #ffffff;
}

.page-responsible-gambling .cta-button.secondary:hover {
  background: #004d99;
  color: var(--secondary-color);
}

/* Sections */
.page-responsible-gambling section {
  padding: 60px 0;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-responsible-gambling .section-commitment, .page-responsible-gambling .section-recognition, .page-responsible-gambling .section-tips {
  background-color: #ffffff;
}

.page-responsible-gambling .section-tools, .page-responsible-gambling .section-underage-protection, .page-responsible-gambling .section-support, .page-responsible-gambling .section-faq, .page-responsible-gambling .section-contact-cta {
  background-color: #f9f9f9;
}

.page-responsible-gambling .content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Tools Grid */
.page-responsible-gambling .tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-responsible-gambling .tool-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gambling .tool-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-responsible-gambling .tool-item h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-responsible-gambling .tool-item p {
  font-size: 1em;
  color: #666666;
}

.page-responsible-gambling .tool-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 15px;
}

/* Lists */
.page-responsible-gambling .bullet-list, .page-responsible-gambling .check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-responsible-gambling .bullet-list li, .page-responsible-gambling .check-list li {
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  font-size: 1.1em;
  color: #555555;
}

.page-responsible-gambling .bullet-list li::before {
  content: '•';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-size: 1.2em;
  line-height: 1;
}

.page-responsible-gambling .check-list li::before {
  content: '✅';
  position: absolute;
  left: 0;
  font-size: 1em;
  line-height: 1;
}

/* Support Options */
.page-responsible-gambling .support-options {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
  justify-content: center;
}

.page-responsible-gambling .support-item {
  flex: 1 1 calc(50% - 30px);
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 300px;
}

.page-responsible-gambling .support-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-responsible-gambling .support-item h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-responsible-gambling .support-item p {
  font-size: 1em;
  color: #666666;
}

.page-responsible-gambling .support-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
}

/* FAQ Section */
.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;
}

.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: #f0f0f0;
}

.page-responsible-gambling .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--primary-color);
  flex-grow: 1;
}

.page-responsible-gambling .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  margin-left: 15px;
}

.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: #fcfcfc;
}

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

.page-responsible-gambling .faq-answer p {
  margin-bottom: 0;
  color: #666666;
}

/* Contact CTA */
.page-responsible-gambling .section-contact-cta {
  text-align: center;
  background: linear-gradient(135deg, #001a33, var(--primary-color));
  color: #ffffff;
  padding: 80px 20px;
}

.page-responsible-gambling .section-contact-cta h2 {
  color: #ffffff;
  font-size: 2.5em;
}

.page-responsible-gambling .section-contact-cta p {
  color: #e0e0e0;
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-responsible-gambling .section-contact-cta a {
  color: var(--secondary-color);
  font-weight: bold;
}

.page-responsible-gambling .section-contact-cta a:hover {
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-responsible-gambling h1 {
    font-size: 2.4em;
  }
  .page-responsible-gambling h2 {
    font-size: 1.8em;
  }
  .page-responsible-gambling h3 {
    font-size: 1.4em;
  }
  .page-responsible-gambling .tool-item, .page-responsible-gambling .support-item {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .page-responsible-gambling .hero-section {
    padding: 40px 15px;
  }
  .page-responsible-gambling h1 {
    font-size: 2em;
  }
  .page-responsible-gambling h2 {
    font-size: 1.6em;
  }
  .page-responsible-gambling .hero-content p {
    font-size: 1em;
  }
  .page-responsible-gambling .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-responsible-gambling section {
    padding: 40px 0;
  }
  .page-responsible-gambling .support-item {
    padding: 20px;
  }
  .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;
  }
  .page-responsible-gambling .section-contact-cta h2 {
    font-size: 2em;
  }
  .page-responsible-gambling .section-contact-cta p {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-responsible-gambling h1 {
    font-size: 1.8em;
  }
  .page-responsible-gambling h2 {
    font-size: 1.4em;
  }
  .page-responsible-gambling h3 {
    font-size: 1.2em;
  }
  .page-responsible-gambling .tool-icon, .page-responsible-gambling .support-icon {
    width: 80px;
    height: 80px;
  }
  .page-responsible-gambling .bullet-list li, .page-responsible-gambling .check-list li {
    font-size: 0.95em;
  }
}