.page-resources-ae888-latest-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF;
}

.page-resources-ae888-latest-promotions__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-resources-ae888-latest-promotions__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-ae888-latest-promotions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.page-resources-ae888-latest-promotions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-resources-ae888-latest-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle background */
}

.page-resources-ae888-latest-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-ae888-latest-promotions__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-ae888-latest-promotions__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-resources-ae888-latest-promotions__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-ae888-latest-promotions__btn-primary,
.page-resources-ae888-latest-promotions__btn-secondary {
  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;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.page-resources-ae888-latest-promotions__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-resources-ae888-latest-promotions__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-resources-ae888-latest-promotions__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-ae888-latest-promotions__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-resources-ae888-latest-promotions__content-section {
  padding: 80px 20px;
}

.page-resources-ae888-latest-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-resources-ae888-latest-promotions__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
  color: inherit;
}

.page-resources-ae888-latest-promotions__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: justify;
  color: inherit;
}

.page-resources-ae888-latest-promotions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-resources-ae888-latest-promotions__grid--2-cols {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.page-resources-ae888-latest-promotions__grid--3-cols {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-resources-ae888-latest-promotions__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-ae888-latest-promotions__card--inverted {
  background-color: #017439;
  color: #ffffff;
}

.page-resources-ae888-latest-promotions__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-ae888-latest-promotions__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-resources-ae888-latest-promotions__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: inherit;
}

.page-resources-ae888-latest-promotions__card-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
  color: inherit;
}

.page-resources-ae888-latest-promotions__btn-link {
  display: inline-block;
  background-color: #017439;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-resources-ae888-latest-promotions__card--inverted .page-resources-ae888-latest-promotions__btn-link {
  background-color: #ffffff;
  color: #017439;
}

.page-resources-ae888-latest-promotions__btn-link:hover {
  background-color: #005a2e;
}

.page-resources-ae888-latest-promotions__card--inverted .page-resources-ae888-latest-promotions__btn-link:hover {
  background-color: #f0f0f0;
}

.page-resources-ae888-latest-promotions__feature-box {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  color: #333333;
}

.page-resources-ae888-latest-promotions__feature-title {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #017439;
}

.page-resources-ae888-latest-promotions__feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-resources-ae888-latest-promotions__feature-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #333333;
}

.page-resources-ae888-latest-promotions__feature-list li::before {
  content: '✔';
  color: #017439;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-resources-ae888-latest-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-resources-ae888-latest-promotions__step-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-resources-ae888-latest-promotions__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #017439;
  margin-bottom: 15px;
}

.page-resources-ae888-latest-promotions__step-title {
  font-size: 1.3em;
  margin-bottom: 15px;
  color: #017439;
}

.page-resources-ae888-latest-promotions__step-text {
  font-size: 0.95em;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-ae888-latest-promotions__video-section {
  padding: 80px 20px;
  text-align: center;
}

.page-resources-ae888-latest-promotions__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px; /* Max width for the video player */
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-resources-ae888-latest-promotions__video,
.page-resources-ae888-latest-promotions__video-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
}

.page-resources-ae888-latest-promotions__video-link-overlay {
  z-index: 10;
}

.page-resources-ae888-latest-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-resources-ae888-latest-promotions__terms-list li {
  background-color: #ffffff;
  border-left: 4px solid #017439;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-resources-ae888-latest-promotions__terms-list li strong {
  color: #017439;
}

.page-resources-ae888-latest-promotions__faq-section {
  padding: 80px 20px;
}

.page-resources-ae888-latest-promotions__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-ae888-latest-promotions__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  color: #333333;
}

.page-resources-ae888-latest-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f5f5f5;
  color: #017439;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

.page-resources-ae888-latest-promotions__faq-question:hover {
  background-color: #e0e0e0;
}

.page-resources-ae888-latest-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-ae888-latest-promotions__faq-item.active .page-resources-ae888-latest-promotions__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-ae888-latest-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #333333;
}

.page-resources-ae888-latest-promotions__faq-item.active .page-resources-ae888-latest-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px 25px;
}

.page-resources-ae888-latest-promotions__faq-answer p {
  margin: 0;
  color: #333333;
}

.page-resources-ae888-latest-promotions__cta-buttons--center {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-ae888-latest-promotions__hero-title {
    font-size: 2.8em;
  }
  .page-resources-ae888-latest-promotions__hero-description {
    font-size: 1.2em;
  }
  .page-resources-ae888-latest-promotions__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-ae888-latest-promotions {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-ae888-latest-promotions__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
    min-height: 400px;
  }
  .page-resources-ae888-latest-promotions__hero-title {
    font-size: 2.2em;
  }
  .page-resources-ae888-latest-promotions__hero-description {
    font-size: 1em;
  }
  .page-resources-ae888-latest-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-ae888-latest-promotions__btn-primary,
  .page-resources-ae888-latest-promotions__btn-secondary {
    width: 100%;
    padding: 12px 20px;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-resources-ae888-latest-promotions__content-section,
  .page-resources-ae888-latest-promotions__video-section,
  .page-resources-ae888-latest-promotions__faq-section {
    padding: 40px 15px;
  }
  .page-resources-ae888-latest-promotions__container {
    padding-left: 0;
    padding-right: 0;
  }
  .page-resources-ae888-latest-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources-ae888-latest-promotions__text-block {
    font-size: 1em;
  }
  .page-resources-ae888-latest-promotions__grid,
  .page-resources-ae888-latest-promotions__grid--2-cols,
  .page-resources-ae888-latest-promotions__grid--3-cols,
  .page-resources-ae888-latest-promotions__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources-ae888-latest-promotions__card,
  .page-resources-ae888-latest-promotions__feature-box,
  .page-resources-ae888-latest-promotions__step-card {
    padding: 20px;
  }
  .page-resources-ae888-latest-promotions__card-image,
  .page-resources-ae888-latest-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-ae888-latest-promotions__video-wrapper {
    padding-bottom: 56.25% !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-resources-ae888-latest-promotions video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-ae888-latest-promotions__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-resources-ae888-latest-promotions__faq-answer {
    padding: 0 20px;
  }
  .page-resources-ae888-latest-promotions__faq-item.active .page-resources-ae888-latest-promotions__faq-answer {
    padding: 15px 20px;
  }
  .page-resources-ae888-latest-promotions__terms-list li {
    padding: 12px 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-ae888-latest-promotions__hero-title {
    font-size: 1.8em;
  }
  .page-resources-ae888-latest-promotions__hero-description {
    font-size: 0.9em;
  }
  .page-resources-ae888-latest-promotions__section-title {
    font-size: 1.5em;
  }
}