/* style/responsible-gambling.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A1A1A; /* Deep Black */
  --text-color-light: #FFFFFF;
  --text-color-dark: #333333;
  --background-light: #F8F8F8;
  --background-dark: #000000;
  --accent-color: #007bff; /* A bright blue for links/highlights */
}

.page-responsible-gambling {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--background-light);
}

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

.page-responsible-gambling h1,
.page-responsible-gambling h2,
.page-responsible-gambling h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-responsible-gambling h1 {
  font-size: 2.8em;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-responsible-gambling h2::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 h3 {
  font-size: 1.6em;
  color: var(--secondary-color);
}

.page-responsible-gambling p {
  margin-bottom: 15px;
}

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

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

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

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

/* Hero Section */
.page-responsible-gambling .hero-section {
  background: var(--background-dark);
  color: var(--text-color-light);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-responsible-gambling .hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-responsible-gambling .hero-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-responsible-gambling .hero-content h1 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.page-responsible-gambling .hero-content p {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #E0E0E0;
}

/* General Section Styling */
.page-responsible-gambling section {
  padding: 60px 0;
}

.page-responsible-gambling .section-importance,
.page-responsible-gambling .section-signs,
.page-responsible-gambling .section-tips {
  background-color: var(--background-light);
}

.page-responsible-gambling .section-tools,
.page-responsible-gambling .section-help,
.page-responsible-gambling .section-faq {
  background-color: #F0F0F0;
}

.page-responsible-gambling .section-call-to-action {
  background: linear-gradient(90deg, var(--secondary-color), var(--background-dark));
  color: var(--text-color-light);
  text-align: center;
  padding: 50px 20px;
}

.page-responsible-gambling .section-call-to-action p {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--text-color-light);
}

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

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

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

.page-responsible-gambling .importance-grid .grid-image {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-responsible-gambling .importance-grid .grid-item h3 {
  color: var(--primary-color);
  font-size: 1.4em;
}

/* Tool Items */
.page-responsible-gambling .tool-item {
  display: flex;
  align-items: flex-start;
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.page-responsible-gambling .tool-item:hover {
  transform: translateY(-3px);
}

.page-responsible-gambling .tool-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-right: 25px;
  flex-shrink: 0;
}

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

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

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

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

.page-responsible-gambling .help-grid .grid-image {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-responsible-gambling .help-grid .grid-item h3 {
  color: var(--primary-color);
  font-size: 1.4em;
}

/* FAQ Section */
.page-responsible-gambling .section-faq {
  padding-top: 40px;
  padding-bottom: 80px;
}

.page-responsible-gambling .faq-item {
  margin-bottom: 15px;
}

.page-responsible-gambling .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-responsible-gambling .faq-question:hover {
  background: #f5f5f5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-responsible-gambling .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--secondary-color);
}

.page-responsible-gambling .faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.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;
  border-radius: 0 0 8px 8px;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
  .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 .hero-image {
    max-height: 400px;
  }

  .page-responsible-gambling .importance-grid,
  .page-responsible-gambling .help-grid {
    grid-template-columns: 1fr;
  }

  .page-responsible-gambling .tool-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-responsible-gambling .tool-icon {
    margin-right: 0;
    margin-bottom: 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: 1.8em;
  }

  .page-responsible-gambling .faq-answer {
    padding: 0 20px;
  }

  .page-responsible-gambling .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 768px) {
  .page-responsible-gambling .hero-section {
    padding: 60px 0;
  }

  .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-image {
    max-height: 300px;
  }

  .page-responsible-gambling .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-responsible-gambling .importance-grid .grid-image,
  .page-responsible-gambling .help-grid .grid-image {
    width: 100px;
    height: 100px;
  }

  .page-responsible-gambling .faq-question h3 {
    font-size: 1em;
  }
}