/* style/resources-p3-casino-security-fairness-deep-dive.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --dark-text-color: #333333;
  --light-text-color: #ffffff;
  --button-login-color: #EA7C07;
  --background-color: #FFFFFF;
  --black-color: #000000;
}

.page-resources-p3-casino-security-fairness-deep-dive {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark-text-color); /* Body background is light, so text is dark */
  background-color: var(--background-color); /* Ensure consistency */
}

.page-resources-p3-casino-security-fairness-deep-dive__hero-section {
  position: relative;
  background-color: var(--primary-color);
  color: var(--light-text-color);
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-resources-p3-casino-security-fairness-deep-dive__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-resources-p3-casino-security-fairness-deep-dive__hero-content {
  max-width: 800px;
  z-index: 1;
}

.page-resources-p3-casino-security-fairness-deep-dive__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--light-text-color);
  line-height: 1.2;
}

.page-resources-p3-casino-security-fairness-deep-dive__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-resources-p3-casino-security-fairness-deep-dive__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin-top: 30px;
  z-index: 0;
}

.page-resources-p3-casino-security-fairness-deep-dive__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-resources-p3-casino-security-fairness-deep-dive__btn-primary,
.page-resources-p3-casino-security-fairness-deep-dive__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
}

.page-resources-p3-casino-security-fairness-deep-dive__btn-primary {
  background-color: var(--button-login-color);
  color: var(--light-text-color);
  border: 2px solid var(--button-login-color);
}

.page-resources-p3-casino-security-fairness-deep-dive__btn-primary:hover {
  background-color: #d16e06;
  border-color: #d16e06;
}

.page-resources-p3-casino-security-fairness-deep-dive__btn-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-resources-p3-casino-security-fairness-deep-dive__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--light-text-color);
}

.page-resources-p3-casino-security-fairness-deep-dive__content-area {
  padding: 60px 0;
  background-color: var(--background-color);
  color: var(--dark-text-color);
}

.page-resources-p3-casino-security-fairness-deep-dive__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-p3-casino-security-fairness-deep-dive__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--button-login-color);
  border-radius: 2px;
}

.page-resources-p3-casino-security-fairness-deep-dive__sub-title {
  font-size: 1.8em;
  color: var(--black-color);
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: left;
}

.page-resources-p3-casino-security-fairness-deep-dive__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-p3-casino-security-fairness-deep-dive__image-wrapper {
  margin: 40px 0;
  text-align: center;
}

.page-resources-p3-casino-security-fairness-deep-dive__content-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-p3-casino-security-fairness-deep-dive__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-resources-p3-casino-security-fairness-deep-dive__faq-section {
  padding: 60px 0;
  background-color: var(--background-color);
  color: var(--dark-text-color);
}

.page-resources-p3-casino-security-fairness-deep-dive__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-p3-casino-security-fairness-deep-dive__faq-item {
  background-color: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-resources-p3-casino-security-fairness-deep-dive__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--black-color);
  cursor: pointer;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

.page-resources-p3-casino-security-fairness-deep-dive__faq-question:hover {
  background-color: #f0f0f0;
}

.page-resources-p3-casino-security-fairness-deep-dive__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-p3-casino-security-fairness-deep-dive__faq-item.active .page-resources-p3-casino-security-fairness-deep-dive__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

.page-resources-p3-casino-security-fairness-deep-dive__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--dark-text-color);
}

.page-resources-p3-casino-security-fairness-deep-dive__faq-item.active .page-resources-p3-casino-security-fairness-deep-dive__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 20px;
}

.page-resources-p3-casino-security-fairness-deep-dive__faq-answer p {
  margin: 0;
  font-size: 1em;
  text-align: justify;
}

/* Conclusion Section */
.page-resources-p3-casino-security-fairness-deep-dive__conclusion-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--light-text-color);
  text-align: center;
}

.page-resources-p3-casino-security-fairness-deep-dive__conclusion-section .page-resources-p3-casino-security-fairness-deep-dive__section-title {
  color: var(--light-text-color);
}

.page-resources-p3-casino-security-fairness-deep-dive__conclusion-section .page-resources-p3-casino-security-fairness-deep-dive__section-title::after {
  background-color: var(--button-login-color);
}

.page-resources-p3-casino-security-fairness-deep-dive__conclusion-section .page-resources-p3-casino-security-fairness-deep-dive__paragraph {
  font-size: 1.15em;
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-p3-casino-security-fairness-deep-dive__hero-title {
    font-size: 2.8em;
  }
  .page-resources-p3-casino-security-fairness-deep-dive__section-title {
    font-size: 2em;
  }
  .page-resources-p3-casino-security-fairness-deep-dive__sub-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-resources-p3-casino-security-fairness-deep-dive {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-p3-casino-security-fairness-deep-dive__hero-section {
    flex-direction: column;
    padding-bottom: 40px;
  }

  .page-resources-p3-casino-security-fairness-deep-dive__hero-content {
    padding: 0 15px;
  }

  .page-resources-p3-casino-security-fairness-deep-dive__hero-title {
    font-size: 2.2em;
  }

  .page-resources-p3-casino-security-fairness-deep-dive__hero-description {
    font-size: 1em;
  }

  .page-resources-p3-casino-security-fairness-deep-dive__container {
    padding: 0 15px;
  }

  .page-resources-p3-casino-security-fairness-deep-dive__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-p3-casino-security-fairness-deep-dive__sub-title {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-resources-p3-casino-security-fairness-deep-dive__paragraph {
    font-size: 1em;
  }

  /* Image responsiveness for mobile */
  .page-resources-p3-casino-security-fairness-deep-dive img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-p3-casino-security-fairness-deep-dive__image-wrapper,
  .page-resources-p3-casino-security-fairness-deep-dive__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Button responsiveness for mobile */
  .page-resources-p3-casino-security-fairness-deep-dive__btn-primary,
  .page-resources-p3-casino-security-fairness-deep-dive__btn-secondary,
  .page-resources-p3-casino-security-fairness-deep-dive a[class*="button"],
  .page-resources-p3-casino-security-fairness-deep-dive a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-p3-casino-security-fairness-deep-dive__cta-wrapper,
  .page-resources-p3-casino-security-fairness-deep-dive__button-group,
  .page-resources-p3-casino-security-fairness-deep-dive__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }

  .page-resources-p3-casino-security-fairness-deep-dive__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-resources-p3-casino-security-fairness-deep-dive__faq-answer {
    padding: 0 20px;
  }

  .page-resources-p3-casino-security-fairness-deep-dive__faq-item.active .page-resources-p3-casino-security-fairness-deep-dive__faq-answer {
    padding: 10px 20px 15px;
  }

  .page-resources-p3-casino-security-fairness-deep-dive__conclusion-section .page-resources-p3-casino-security-fairness-deep-dive__paragraph {
    font-size: 1em;
  }
}