/* style/resources-responsible-gaming-policy.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #0A2463; /* Dark Blue */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f8f8;
  --background-dark: #0A2463;
  --accent-color: #DC3545; /* Red for emphasis */
  --border-color: #e0e0e0;
}

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

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

.page-resources-responsible-gaming-policy .hero-banner {
  position: relative;
  width: 100%;
  height: 450px; /* Adjusted height for content */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--text-light);
}

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

.page-resources-responsible-gaming-policy .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 20px;
}

.page-resources-responsible-gaming-policy .hero-title {
  font-size: 3.5em;
  margin-bottom: 15px;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-responsible-gaming-policy .hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 30px;
  color: var(--text-light);
  max-width: 800px;
}

.page-resources-responsible-gaming-policy .cta-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-resources-responsible-gaming-policy .cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold */
  transform: translateY(-3px);
}

.page-resources-responsible-gaming-policy .content-section {
  padding: 60px 0;
}

.page-resources-responsible-gaming-policy .introduction-section {
  background-color: var(--background-light);
}

.page-resources-responsible-gaming-policy .section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.page-resources-responsible-gaming-policy .section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-resources-responsible-gaming-policy .section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--text-dark);
}

.page-resources-responsible-gaming-policy .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-responsible-gaming-policy .policy-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-responsible-gaming-policy .policy-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-responsible-gaming-policy .card-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-resources-responsible-gaming-policy .card-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-resources-responsible-gaming-policy .card-text {
  font-size: 1em;
  color: var(--text-dark);
}

.page-resources-responsible-gaming-policy .tools-section {
  background-color: #eef4f8;
}

.page-resources-responsible-gaming-policy .feature-item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 40px;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.page-resources-responsible-gaming-policy .feature-icon {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  object-fit: contain;
}

.page-resources-responsible-gaming-policy .feature-text-content {
  flex-grow: 1;
}

.page-resources-responsible-gaming-policy .feature-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-resources-responsible-gaming-policy .feature-text-content p {
  font-size: 1.05em;
  color: var(--text-dark);
}

.page-resources-responsible-gaming-policy .warning-signs-section {
  background-color: var(--background-light);
}

.page-resources-responsible-gaming-policy .warning-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
}

.page-resources-responsible-gaming-policy .warning-list li {
  background-color: #fff;
  border-left: 5px solid var(--accent-color);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-resources-responsible-gaming-policy .warning-list li p {
  margin: 0;
}

.page-resources-responsible-gaming-policy .underage-protection-section {
  background-color: #f0f7fa;
}

.page-resources-responsible-gaming-policy .protection-details {
  max-width: 900px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-resources-responsible-gaming-policy .sub-section-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
}

.page-resources-responsible-gaming-policy .protection-details p {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-resources-responsible-gaming-policy .advice-list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-resources-responsible-gaming-policy .advice-list li {
  font-size: 1em;
  margin-bottom: 8px;
}

.page-resources-responsible-gaming-policy .advice-list li a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-resources-responsible-gaming-policy .advice-list li a:hover {
  text-decoration: underline;
  color: var(--primary-color);
}

.page-resources-responsible-gaming-policy .support-resources-section {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-resources-responsible-gaming-policy .support-resources-section .section-title {
  color: var(--primary-color);
}

.page-resources-responsible-gaming-policy .support-resources-section .section-title::after {
  background-color: var(--text-light);
}

.page-resources-responsible-gaming-policy .support-resources-section .section-description {
  color: var(--text-light);
}

.page-resources-responsible-gaming-policy .resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-responsible-gaming-policy .resource-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-responsible-gaming-policy .resource-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.page-resources-responsible-gaming-policy .resource-card .card-title {
  color: var(--primary-color);
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-resources-responsible-gaming-policy .resource-card .card-text {
  color: var(--text-light);
  font-size: 1em;
  margin-bottom: 20px;
}

.page-resources-responsible-gaming-policy .resource-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-resources-responsible-gaming-policy .resource-link:hover {
  background-color: #e6c200;
}

.page-resources-responsible-gaming-policy .contact-info {
  text-align: center;
  margin-top: 50px;
  font-size: 1.2em;
  color: var(--text-light);
}

.page-resources-responsible-gaming-policy .contact-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-resources-responsible-gaming-policy .contact-link:hover {
  text-decoration: underline;
}

.page-resources-responsible-gaming-policy .faq-section {
  background-color: var(--background-light);
}

.page-resources-responsible-gaming-policy .faq-list {
  max-width: 900px;
  margin: 40px auto;
}

/* FAQ default state - answer hidden */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 15px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-dark);
}

/* FAQ expanded state */
.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px;
  border: 1px solid var(--border-color);
  border-top: none;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

/* Question styling */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 10px;
}

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

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--secondary-color);
}

/* Toggle icon */
.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

/* Responsive design */
@media (max-width: 992px) {
  .page-resources-responsible-gaming-policy .hero-title {
    font-size: 2.8em;
  }
  .page-resources-responsible-gaming-policy .hero-subtitle {
    font-size: 1.2em;
  }
  .page-resources-responsible-gaming-policy .section-title {
    font-size: 2em;
  }
  .page-resources-responsible-gaming-policy .feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-resources-responsible-gaming-policy .feature-icon {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-resources-responsible-gaming-policy .hero-banner {
    height: 350px;
  }
  .page-resources-responsible-gaming-policy .hero-title {
    font-size: 2.2em;
  }
  .page-resources-responsible-gaming-policy .hero-subtitle {
    font-size: 1em;
  }
  .page-resources-responsible-gaming-policy .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources-responsible-gaming-policy .content-section {
    padding: 40px 0;
  }
  .page-resources-responsible-gaming-policy .section-title {
    font-size: 1.8em;
  }
  .page-resources-responsible-gaming-policy .section-description {
    font-size: 0.95em;
  }
  .page-resources-responsible-gaming-policy .policy-card {
    padding: 20px;
  }
  .page-resources-responsible-gaming-policy .card-icon {
    width: 60px;
    height: 60px;
  }
  .page-resources-responsible-gaming-policy .card-title {
    font-size: 1.3em;
  }
  .page-resources-responsible-gaming-policy .feature-item {
    padding: 20px;
  }
  .page-resources-responsible-gaming-policy .feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-resources-responsible-gaming-policy .feature-title {
    font-size: 1.5em;
  }
  .page-resources-responsible-gaming-policy .warning-list li {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-resources-responsible-gaming-policy .protection-details {
    padding: 25px;
  }
  .page-resources-responsible-gaming-policy .sub-section-title {
    font-size: 1.5em;
  }
  .page-resources-responsible-gaming-policy .resource-card {
    padding: 20px;
  }
  .page-resources-responsible-gaming-policy .resource-card .card-title {
    font-size: 1.4em;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-responsible-gaming-policy .hero-banner {
    height: 300px;
  }
  .page-resources-responsible-gaming-policy .hero-title {
    font-size: 1.8em;
  }
  .page-resources-responsible-gaming-policy .hero-subtitle {
    font-size: 0.9em;
  }
  .page-resources-responsible-gaming-policy .cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-resources-responsible-gaming-policy .section-title {
    font-size: 1.5em;
  }
  .page-resources-responsible-gaming-policy .card-grid {
    grid-template-columns: 1fr;
  }
  .page-resources-responsible-gaming-policy .feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-resources-responsible-gaming-policy .resource-grid {
    grid-template-columns: 1fr;
  }
  .page-resources-responsible-gaming-policy .faq-list {
    margin: 20px auto;
  }
  .faq-question h3 {
    font-size: 0.9em;
  }
  .faq-toggle {
    font-size: 18px;
  }
}