/* style/resources-security-standards-for-online-casinos.css */
:root {
  --primary-color: #FF4500;
  --secondary-color: #1E90FF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --border-light: #e0e0e0;
}

.page-resources-security-standards-for-online-casinos {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
  background-color: var(--dark-bg-1); /* Assuming --dark-bg-1 from shared.css is dark */
  line-height: 1.6;
}

/* Ensure content is not hidden by fixed header */
.page-resources-security-standards-for-online-casinos__introduction-section {
  padding-top: 120px; /* Desktop: Adjust based on actual header height */
  padding-bottom: 40px;
}

.page-resources-security-standards-for-online-casinos__section {
  padding: 40px 20px;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-resources-security-standards-for-online-casinos__dark-bg {
  background: linear-gradient(135deg, var(--primary-color), #cc3700); /* Darker gradient for better contrast */
  color: var(--text-light);
}

.page-resources-security-standards-for-online-casinos__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-resources-security-standards-for-online-casinos__main-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
}

.page-resources-security-standards-for-online-casinos__heading {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
  color: inherit; /* Inherit color from parent section (dark-bg or light-bg) */
}

.page-resources-security-standards-for-online-casinos__sub-heading {
  font-size: 22px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit;
}

.page-resources-security-standards-for-online-casinos__paragraph {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.7;
  color: inherit;
}

.page-resources-security-standards-for-online-casinos__link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-security-standards-for-online-casinos__link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-resources-security-standards-for-online-casinos__highlight {
  font-weight: bold;
  color: var(--primary-color);
}

.page-resources-security-standards-for-online-casinos__dark-bg .page-resources-security-standards-for-online-casinos__highlight {
  color: var(--text-light);
}

.page-resources-security-standards-for-online-casinos__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 25px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-resources-security-standards-for-online-casinos__content-block {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-top: 20px;
  color: var(--text-dark);
}

.page-resources-security-standards-for-online-casinos__dark-bg .page-resources-security-standards-for-online-casinos__content-block {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-resources-security-standards-for-online-casinos__dark-bg .page-resources-security-standards-for-online-casinos__content-block h3 {
  color: var(--text-light);
}

.page-resources-security-standards-for-online-casinos__dark-bg .page-resources-security-standards-for-online-casinos__content-block .page-resources-security-standards-for-online-casinos__link {
  color: #add8e6; /* Lighter blue for better contrast on dark orange */
}

.page-resources-security-standards-for-online-casinos__dark-bg .page-resources-security-standards-for-online-casinos__content-block .page-resources-security-standards-for-online-casinos__link:hover {
  color: #ffffff;
}

/* FAQ Section */
.page-resources-security-standards-for-online-casinos__faq-section {
  background-color: #f1f3f5;
  padding: 60px 20px;
}

.page-resources-security-standards-for-online-casinos__faq-list {
  margin-top: 30px;
}

.page-resources-security-standards-for-online-casinos__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-resources-security-standards-for-online-casinos__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-resources-security-standards-for-online-casinos__faq-item.active .page-resources-security-standards-for-online-casinos__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-resources-security-standards-for-online-casinos__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-security-standards-for-online-casinos__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-security-standards-for-online-casinos__faq-question:active {
  background: #eeeeee;
}

.page-resources-security-standards-for-online-casinos__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

.page-resources-security-standards-for-online-casinos__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-resources-security-standards-for-online-casinos__faq-item.active .page-resources-security-standards-for-online-casinos__faq-toggle {
  color: #333;
  transform: rotate(45deg); /* Change + to X */
}

/* Conclusion Section */
.page-resources-security-standards-for-online-casinos__conclusion-section {
  padding: 60px 20px;
  text-align: center;
}

.page-resources-security-standards-for-online-casinos__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color); /* Using secondary color for CTA */
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-security-standards-for-online-casinos__cta-button:hover {
  background: #187bcd; /* Slightly darker blue on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources-security-standards-for-online-casinos__main-title {
    font-size: 30px;
  }

  .page-resources-security-standards-for-online-casinos__heading {
    font-size: 24px;
  }

  .page-resources-security-standards-for-online-casinos__sub-heading {
    font-size: 20px;
  }

  .page-resources-security-standards-for-online-casinos__content-block {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-resources-security-standards-for-online-casinos__introduction-section {
    padding-top: 100px !important; /* Mobile: Adjust based on actual mobile header height */
    padding-bottom: 30px;
  }

  .page-resources-security-standards-for-online-casinos__section {
    padding: 30px 15px;
  }

  .page-resources-security-standards-for-online-casinos__container {
    padding: 0 10px;
  }

  .page-resources-security-standards-for-online-casinos__main-title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .page-resources-security-standards-for-online-casinos__heading {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .page-resources-security-standards-for-online-casinos__sub-heading {
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-resources-security-standards-for-online-casinos__paragraph {
    font-size: 15px;
  }

  .page-resources-security-standards-for-online-casinos__image {
    margin: 20px auto;
    border-radius: 4px;
  }

  .page-resources-security-standards-for-online-casinos__content-block {
    padding: 20px;
  }

  .page-resources-security-standards-for-online-casinos__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    margin-top: 20px;
  }

  .page-resources-security-standards-for-online-casinos__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-resources-security-standards-for-online-casinos__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-resources-security-standards-for-online-casinos__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-resources-security-standards-for-online-casinos__faq-answer {
    padding: 0 15px;
  }
  
  .page-resources-security-standards-for-online-casinos__faq-item.active .page-resources-security-standards-for-online-casinos__faq-answer {
    padding: 15px !important;
  }

  /* Ensure all images and containers adapt to mobile */
  .page-resources-security-standards-for-online-casinos img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-security-standards-for-online-casinos__section,
  .page-resources-security-standards-for-online-casinos__card,
  .page-resources-security-standards-for-online-casinos__container,
  .page-resources-security-standards-for-online-casinos__content-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}