/* style/responsible-gambling.css */

:root {
  --primary-color: #0A2E5B;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f7f6;
  --bg-dark: #072242;
  --border-color: #e0e0e0;
}

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

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

.page-responsible-gambling h1 {
  font-size: 3.2em;
  text-align: center;
  color: var(--text-light);
}

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

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

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

.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: 0 20px;
}

/* Hero Section */
.page-responsible-gambling .responsible-gambling-hero {
  position: relative;
  width: 100%;
  height: 500px; /* Adjusted height for content hero */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  overflow: hidden;
}

.page-responsible-gambling .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-responsible-gambling .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-responsible-gambling .hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 20px;
}

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

.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;
  transition: all 0.3s ease;
  border: 2px solid var(--secondary-color);
}

.page-responsible-gambling .cta-button:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-responsible-gambling .cta-button-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  border: 2px solid var(--primary-color);
  transition: all 0.3s ease;
  margin-top: 20px;
}

.page-responsible-gambling .cta-button-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Sections */
.page-responsible-gambling .section-intro, 
.page-responsible-gambling .section-tools, 
.page-responsible-gambling .section-problem-gambling, 
.page-responsible-gambling .section-support, 
.page-responsible-gambling .section-tips, 
.page-responsible-gambling .section-age-parental, 
.page-responsible-gambling .section-faq, 
.page-responsible-gambling .section-conclusion {
  padding: 60px 0;
  background-color: var(--bg-light);
}

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

.page-responsible-gambling .section-support, .page-responsible-gambling .section-age-parental {
  background-color: #e8f0f3;
}

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

.page-responsible-gambling .tool-item {
  background: #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.12);
}

.page-responsible-gambling .tool-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

/* Symptoms Grid */
.page-responsible-gambling .symptoms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-responsible-gambling .symptom-card {
  background: var(--bg-light);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 5px solid var(--secondary-color);
}

.page-responsible-gambling .symptom-card h3 {
  color: var(--primary-color);
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-responsible-gambling .note {
  text-align: center;
  font-style: italic;
  margin-top: 30px;
  color: #666;
}

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

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

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

.page-responsible-gambling .support-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-responsible-gambling .support-item .link-text {
  display: inline-block;
  margin-top: 15px;
  color: var(--secondary-color);
  font-weight: bold;
}

.page-responsible-gambling .support-item .link-text:hover {
  text-decoration: underline;
}

.page-responsible-gambling .contact-note {
  text-align: center;
  margin-top: 30px;
  font-size: 1.1em;
  color: var(--primary-color);
  font-weight: bold;
}

/* Tips Section */
.page-responsible-gambling .section-tips ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-top: 20px;
  font-size: 1.1em;
}

.page-responsible-gambling .section-tips ul li {
  margin-bottom: 10px;
  padding-left: 10px;
}

.page-responsible-gambling .section-tips ul li strong {
  color: var(--primary-color);
}

/* Age and Parental Control */
.page-responsible-gambling .age-parental-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
  justify-content: center;
}

.page-responsible-gambling .age-info, .page-responsible-gambling .parental-control-info {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  flex: 1 1 45%;
  max-width: 500px;
}

.page-responsible-gambling .age-icon, .page-responsible-gambling .parental-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-responsible-gambling .age-info h3, .page-responsible-gambling .parental-control-info h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-bottom: 10px;
}

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

.page-responsible-gambling .faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-responsible-gambling .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-responsible-gambling .faq-question:hover {
  background: #f5f5f5;
  border-color: var(--primary-color);
}

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

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

.page-responsible-gambling .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background: #f9f9f9;
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 5px 5px;
}

.page-responsible-gambling .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

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

/* Conclusion */
.page-responsible-gambling .section-conclusion {
  text-align: center;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 80px 0;
}

.page-responsible-gambling .section-conclusion h2 {
  color: var(--secondary-color);
  margin-bottom: 30px;
}

.page-responsible-gambling .section-conclusion p {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
}

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

.page-responsible-gambling .section-conclusion a:hover {
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-responsible-gambling h1 {
    font-size: 2.8em;
  }
  .page-responsible-gambling h2 {
    font-size: 2em;
  }
  .page-responsible-gambling .hero-content p {
    font-size: 1.1em;
  }
  .page-responsible-gambling .tool-grid, .page-responsible-gambling .symptoms-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-responsible-gambling .support-item, .page-responsible-gambling .age-info, .page-responsible-gambling .parental-control-info {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-responsible-gambling .responsible-gambling-hero {
    height: 400px;
  }
  .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-content p {
    font-size: 1em;
  }
  .page-responsible-gambling .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-responsible-gambling .section-intro, 
  .page-responsible-gambling .section-tools, 
  .page-responsible-gambling .section-problem-gambling, 
  .page-responsible-gambling .section-support, 
  .page-responsible-gambling .section-tips, 
  .page-responsible-gambling .section-age-parental, 
  .page-responsible-gambling .section-faq, 
  .page-responsible-gambling .section-conclusion {
    padding: 40px 0;
  }
  .page-responsible-gambling .tool-item, .page-responsible-gambling .symptom-card, .page-responsible-gambling .support-item, .page-responsible-gambling .age-info, .page-responsible-gambling .parental-control-info {
    padding: 20px;
  }
  .page-responsible-gambling .tool-icon, .page-responsible-gambling .support-icon, .page-responsible-gambling .age-icon, .page-responsible-gambling .parental-icon {
    width: 80px;
    height: 80px;
  }
  .page-responsible-gambling .faq-question {
    padding: 15px;
  }
  .page-responsible-gambling .faq-question h3 {
    font-size: 1.1em;
  }
  .page-responsible-gambling .faq-toggle {
    font-size: 20px;
  }
  .page-responsible-gambling .faq-answer {
    padding: 15px;
  }
  .page-responsible-gambling .section-conclusion p {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-responsible-gambling .responsible-gambling-hero {
    height: 350px;
  }
  .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.9em;
  }
  .page-responsible-gambling .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-responsible-gambling .tool-grid, .page-responsible-gambling .symptoms-grid {
    grid-template-columns: 1fr;
  }
  .page-responsible-gambling .section-tips ul {
    margin-left: 15px;
    font-size: 1em;
  }
  .page-responsible-gambling .faq-question h3 {
    font-size: 1em;
  }
  .page-responsible-gambling .faq-toggle {
    font-size: 18px;
  }
}