.page-resources-how-to-maximize-ae888-registration-bonus {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: var(--background-color, #FFFFFF);
}

.page-resources-how-to-maximize-ae888-registration-bonus__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-how-to-maximize-ae888-registration-bonus__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensure spacing from fixed header */
  background-color: #017439; /* Primary brand color */
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

.page-resources-how-to-maximize-ae888-registration-bonus__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-resources-how-to-maximize-ae888-registration-bonus__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

.page-resources-how-to-maximize-ae888-registration-bonus__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-how-to-maximize-ae888-registration-bonus__btn-primary,
.page-resources-how-to-maximize-ae888-registration-bonus__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-resources-how-to-maximize-ae888-registration-bonus__btn-primary {
  background-color: #900000; /* Adjusted from #C30808 to meet WCAG AA contrast for #FFFF00 text */
  color: #FFFF00; /* Specified for Register/Login font */
  border: 2px solid #900000;
}

.page-resources-how-to-maximize-ae888-registration-bonus__btn-primary:hover {
  background-color: #C30808;
  border-color: #C30808;
  color: #FFFF00;
}

.page-resources-how-to-maximize-ae888-registration-bonus__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-resources-how-to-maximize-ae888-registration-bonus__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-resources-how-to-maximize-ae888-registration-bonus__content-area {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-resources-how-to-maximize-ae888-registration-bonus__section-title {
  font-size: 2em;
  color: #017439;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-resources-how-to-maximize-ae888-registration-bonus__text-block {
  margin-bottom: 30px;
  font-size: 1.1em;
}

.page-resources-how-to-maximize-ae888-registration-bonus__text-block p {
  margin-bottom: 15px;
}

.page-resources-how-to-maximize-ae888-registration-bonus__list,
.page-resources-how-to-maximize-ae888-registration-bonus__numbered-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-resources-how-to-maximize-ae888-registration-bonus__numbered-list {
  list-style-type: decimal;
}

.page-resources-how-to-maximize-ae888-registration-bonus__list li,
.page-resources-how-to-maximize-ae888-registration-bonus__numbered-list li {
  margin-bottom: 10px;
  color: #333333;
}

.page-resources-how-to-maximize-ae888-registration-bonus__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

/* FAQ Section */
.page-resources-how-to-maximize-ae888-registration-bonus__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-how-to-maximize-ae888-registration-bonus__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-how-to-maximize-ae888-registration-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #f9f9f9;
  cursor: pointer;
  font-weight: bold;
  color: #017439;
  transition: background-color 0.3s ease;
}

.page-resources-how-to-maximize-ae888-registration-bonus__faq-question:hover {
  background-color: #e6e6e6;
}

.page-resources-how-to-maximize-ae888-registration-bonus__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-how-to-maximize-ae888-registration-bonus__faq-item.active .page-resources-how-to-maximize-ae888-registration-bonus__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-how-to-maximize-ae888-registration-bonus__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background-color: #ffffff;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #333333;
}

.page-resources-how-to-maximize-ae888-registration-bonus__faq-item.active .page-resources-how-to-maximize-ae888-registration-bonus__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to accommodate content */
  padding: 15px 20px;
}

.page-resources-how-to-maximize-ae888-registration-bonus__faq-answer p {
  margin-bottom: 0;
}

.page-resources-how-to-maximize-ae888-registration-bonus__cta-buttons--bottom {
  margin-top: 50px;
  margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-how-to-maximize-ae888-registration-bonus__hero-title {
    font-size: 2.2em;
  }
  .page-resources-how-to-maximize-ae888-registration-bonus__hero-description {
    font-size: 1.1em;
  }
  .page-resources-how-to-maximize-ae888-registration-bonus__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-resources-how-to-maximize-ae888-registration-bonus__hero-section {
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure spacing from fixed header on mobile */
    min-height: 350px;
  }
  .page-resources-how-to-maximize-ae888-registration-bonus__hero-title {
    font-size: 1.8em;
  }
  .page-resources-how-to-maximize-ae888-registration-bonus__hero-description {
    font-size: 1em;
  }
  .page-resources-how-to-maximize-ae888-registration-bonus__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-how-to-maximize-ae888-registration-bonus__btn-primary,
  .page-resources-how-to-maximize-ae888-registration-bonus__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
  }
  .page-resources-how-to-maximize-ae888-registration-bonus__content-area {
    padding: 40px 0;
  }
  .page-resources-how-to-maximize-ae888-registration-bonus__section-title {
    font-size: 1.5em;
  }
  .page-resources-how-to-maximize-ae888-registration-bonus__text-block {
    font-size: 1em;
  }
  .page-resources-how-to-maximize-ae888-registration-bonus__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: unset;
    min-height: unset;
  }
  .page-resources-how-to-maximize-ae888-registration-bonus__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-resources-how-to-maximize-ae888-registration-bonus__faq-item,
  .page-resources-how-to-maximize-ae888-registration-bonus__faq-question,
  .page-resources-how-to-maximize-ae888-registration-bonus__faq-answer {
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }
  .page-resources-how-to-maximize-ae888-registration-bonus__faq-question {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-how-to-maximize-ae888-registration-bonus__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-how-to-maximize-ae888-registration-bonus__faq-item.active .page-resources-how-to-maximize-ae888-registration-bonus__faq-answer {
    padding: 15px 15px !important;
  }
}