/* style/resources-terms-and-conditions-for-bonuses.css */

:root {
  --primary-color: #0A2463;
  --secondary-color: #E3B505;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f9f9f9;
  --border-color: #e0e0e0;
}

/* Base styles for the page content, considering fixed header */
.page-resources-terms-and-conditions-for-bonuses {
  color: var(--text-color-light); /* Default for dark body background */
  background-color: var(--dark-bg-1); /* Inherited from shared.css */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-resources-terms-and-conditions-for-bonuses__main-content-section {
  padding: 60px 20px;
  padding-top: 120px; /* Desktop: Adjust for fixed header */
  background-color: var(--background-light);
  color: var(--text-color-dark);
}

.page-resources-terms-and-conditions-for-bonuses__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-resources-terms-and-conditions-for-bonuses__title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 25px;
}

.page-resources-terms-and-conditions-for-bonuses__intro-text {
  font-size: 18px;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 30px;
  color: var(--text-color-dark);
}

.page-resources-terms-and-conditions-for-bonuses__intro-text strong,
.page-resources-terms-and-conditions-for-bonuses__intro-text a {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
}

.page-resources-terms-and-conditions-for-bonuses__intro-text a:hover {
  text-decoration: underline;
}

.page-resources-terms-and-conditions-for-bonuses__heading {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-resources-terms-and-conditions-for-bonuses__sub-heading {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-terms-and-conditions-for-bonuses__paragraph {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  text-align: justify;
  color: var(--text-color-dark);
}

.page-resources-terms-and-conditions-for-bonuses__paragraph strong,
.page-resources-terms-and-conditions-for-bonuses__paragraph a {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
}

.page-resources-terms-and-conditions-for-bonuses__paragraph a:hover {
  text-decoration: underline;
}

.page-resources-terms-and-conditions-for-bonuses__image-wrapper {
  text-align: center;
  margin: 30px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-resources-terms-and-conditions-for-bonuses__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  width: 100%;
}

.page-resources-terms-and-conditions-for-bonuses__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-color-dark);
}

.page-resources-terms-and-conditions-for-bonuses__list-item {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.page-resources-terms-and-conditions-for-bonuses__list-item strong {
  color: var(--primary-color);
}

.page-resources-terms-and-conditions-for-bonuses__cta-wrapper {
  text-align: center;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.page-resources-terms-and-conditions-for-bonuses__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  width: fit-content;
}

.page-resources-terms-and-conditions-for-bonuses__cta-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-resources-terms-and-conditions-for-bonuses__cta-button--secondary {
  background: #6c757d;
}

.page-resources-terms-and-conditions-for-bonuses__cta-button--secondary:hover {
  background: #5a6268;
}

/* FAQ Section */
.page-resources-terms-and-conditions-for-bonuses__faq-section {
  background-color: var(--dark-bg-1); /* Inherited from shared.css */
  padding: 60px 20px;
  color: var(--text-color-light);
}

.page-resources-terms-and-conditions-for-bonuses__faq-section .page-resources-terms-and-conditions-for-bonuses__heading {
  color: var(--text-color-light);
  text-align: center;
  margin-bottom: 40px;
}

.page-resources-terms-and-conditions-for-bonuses__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-resources-terms-and-conditions-for-bonuses__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-terms-and-conditions-for-bonuses__faq-item.active .page-resources-terms-and-conditions-for-bonuses__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0 0 5px 5px;
  color: var(--text-color-light);
}

.page-resources-terms-and-conditions-for-bonuses__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--primary-color);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-terms-and-conditions-for-bonuses__faq-question:hover {
  background: #1a3a7a;
  border-color: rgba(255, 255, 255, 0.3);
}

.page-resources-terms-and-conditions-for-bonuses__faq-question:active {
  background: #05143a;
}

.page-resources-terms-and-conditions-for-bonuses__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-color-light);
}

.page-resources-terms-and-conditions-for-bonuses__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  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-terms-and-conditions-for-bonuses__faq-item.active .page-resources-terms-and-conditions-for-bonuses__faq-toggle {
  color: var(--text-color-light);
  transform: rotate(45deg);
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-resources-terms-and-conditions-for-bonuses__main-content-section,
  .page-resources-terms-and-conditions-for-bonuses__faq-section {
    padding: 30px 15px;
  }

  .page-resources-terms-and-conditions-for-bonuses__main-content-section {
    padding-top: 100px !important; /* Mobile: Adjust for fixed header */
  }

  .page-resources-terms-and-conditions-for-bonuses__container {
    padding: 0 10px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-terms-and-conditions-for-bonuses__title {
    font-size: 28px;
  }

  .page-resources-terms-and-conditions-for-bonuses__intro-text {
    font-size: 16px;
  }

  .page-resources-terms-and-conditions-for-bonuses__heading {
    font-size: 24px;
    margin-top: 30px;
  }

  .page-resources-terms-and-conditions-for-bonuses__sub-heading {
    font-size: 20px;
    margin-top: 25px;
  }

  .page-resources-terms-and-conditions-for-bonuses__paragraph,
  .page-resources-terms-and-conditions-for-bonuses__list-item {
    font-size: 15px;
  }

  .page-resources-terms-and-conditions-for-bonuses__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-resources-terms-and-conditions-for-bonuses__cta-button {
    font-size: 16px;
    padding: 12px 20px;
    width: 100%;
    max-width: 300px;
  }

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

/* Contrast fix classes */
.page-resources-terms-and-conditions-for-bonuses__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-resources-terms-and-conditions-for-bonuses__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}