.page-responsible-gambling {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1E90FF; /* Deep Sky Blue */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f8f8;
  --bg-dark: #2c3e50;
  --border-color: #e0e0e0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

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

.page-responsible-gambling .hero-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-responsible-gambling .hero-container {
  max-width: 900px;
}

.page-responsible-gambling .hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-light);
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling .hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.8;
}

.page-responsible-gambling .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--primary-color);
}

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

.page-responsible-gambling .section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}

.page-responsible-gambling .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-responsible-gambling .section-description {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-dark);
}

.page-responsible-gambling .content-section {
  padding: 60px 0;
}

.page-responsible-gambling .commitment-section {
  background-color: var(--bg-light);
}

.page-responsible-gambling .commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-responsible-gambling .commitment-item {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gambling .commitment-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-responsible-gambling .commitment-item h3 {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-responsible-gambling .commitment-item p {
  font-size: 1.05em;
  color: var(--text-dark);
}

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

.page-responsible-gambling .understanding-section {
  background-color: var(--text-light);
}

.page-responsible-gambling .understanding-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-responsible-gambling .understanding-text {
  flex: 2;
  min-width: 300px;
}

.page-responsible-gambling .understanding-text h3 {
  font-size: 2em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  border-left: 5px solid var(--primary-color);
  padding-left: 15px;
}

.page-responsible-gambling .understanding-text p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: var(--text-dark);
}

.page-responsible-gambling .understanding-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-responsible-gambling .responsive-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-responsible-gambling .tools-section {
  background-color: var(--bg-light);
}

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

.page-responsible-gambling .tool-item {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 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(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

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

.page-responsible-gambling .tool-item p {
  font-size: 1em;
  color: var(--text-dark);
}

.page-responsible-gambling .tool-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.page-responsible-gambling .advice-section {
  background-color: var(--text-light);
}

.page-responsible-gambling .advice-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-responsible-gambling .advice-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

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

.page-responsible-gambling .advice-item p {
  font-size: 1em;
  color: var(--text-dark);
}

.page-responsible-gambling .advice-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.page-responsible-gambling .protection-section {
  background-color: var(--bg-light);
}

.page-responsible-gambling .protection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-responsible-gambling .protection-item {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-responsible-gambling .protection-item h3 {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-responsible-gambling .protection-item p {
  font-size: 1.05em;
  color: var(--text-dark);
}

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

.page-responsible-gambling .resources-section {
  background-color: var(--text-light);
}

.page-responsible-gambling .resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-responsible-gambling .resource-item {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-responsible-gambling .resource-item h3 {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-responsible-gambling .resource-item p {
  font-size: 1.05em;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.page-responsible-gambling .resource-item ul {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-responsible-gambling .resource-item li {
  margin-bottom: 8px;
  color: var(--text-dark);
}

.page-responsible-gambling .button-link {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 15px;
}

.page-responsible-gambling .button-link:hover {
  background: var(--primary-color);
  color: var(--text-dark);
  transform: translateY(-2px);
}

.page-responsible-gambling .faq-section {
  background-color: var(--bg-light);
}

.page-responsible-gambling .faq-container {
  max-width: 900px;
  margin: 0 auto;
}

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

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

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

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

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

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

.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: #fefefe;
  color: var(--text-dark);
}

.page-responsible-gambling .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 25px 25px;
  border-top: 1px solid var(--border-color);
}

.page-responsible-gambling .faq-answer p {
  margin: 0;
  font-size: 1em;
}

.page-responsible-gambling .contact-section {
  background-color: var(--text-light);
  text-align: center;
}

.page-responsible-gambling .contact-info p {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.page-responsible-gambling .contact-info a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-responsible-gambling .contact-info a:hover {
  text-decoration: underline;
}

.page-responsible-gambling .secondary-button {
  background: var(--secondary-color);
  color: var(--text-light);
  border-color: var(--secondary-color);
  margin-top: 30px;
}

.page-responsible-gambling .secondary-button:hover {
  background: var(--primary-color);
  color: var(--text-dark);
  border-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-responsible-gambling .hero-title {
    font-size: 2.8em;
  }
  .page-responsible-gambling .section-title {
    font-size: 2em;
  }
  .page-responsible-gambling .understanding-content {
    flex-direction: column;
  }
  .page-responsible-gambling .understanding-image {
    order: -1; /* Image on top for mobile */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-responsible-gambling .hero-section {
    padding: 60px 15px;
  }
  .page-responsible-gambling .hero-title {
    font-size: 2.2em;
  }
  .page-responsible-gambling .hero-description {
    font-size: 1em;
  }
  .page-responsible-gambling .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-responsible-gambling .section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .page-responsible-gambling .section-description {
    font-size: 0.95em;
  }
  .page-responsible-gambling .commitment-item h3,
  .page-responsible-gambling .tool-item h3,
  .page-responsible-gambling .advice-item h3,
  .page-responsible-gambling .protection-item h3,
  .page-responsible-gambling .resource-item h3 {
    font-size: 1.5em;
  }
  .page-responsible-gambling .faq-question h3 {
    font-size: 1.1em;
  }
  .page-responsible-gambling .faq-question {
    padding: 15px 20px;
  }
  .page-responsible-gambling .faq-answer {
    padding: 0 20px;
  }
  .page-responsible-gambling .faq-item.active .faq-answer {
    padding: 15px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-responsible-gambling .hero-title {
    font-size: 1.8em;
  }
  .page-responsible-gambling .section-title {
    font-size: 1.5em;
  }
  .page-responsible-gambling .commitment-grid,
  .page-responsible-gambling .tools-grid,
  .page-responsible-gambling .advice-list,
  .page-responsible-gambling .protection-grid,
  .page-responsible-gambling .resource-grid {
    grid-template-columns: 1fr;
  }
  .page-responsible-gambling .commitment-item,
  .page-responsible-gambling .tool-item,
  .page-responsible-gambling .advice-item,
  .page-responsible-gambling .protection-item,
  .page-responsible-gambling .resource-item {
    padding: 20px;
  }
  .page-responsible-gambling .faq-toggle {
    font-size: 1.5em;
  }
}