.page-index-latest-promotions {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-index-latest-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-index-latest-promotions__section {
  padding: 60px 0;
  text-align: center;
}

.page-index-latest-promotions__dark-bg {
  background-color: #000000; /* Dark background from body */
  color: #ffffff;
}

.page-index-latest-promotions__light-bg {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for contrast on dark body */
  color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-latest-promotions__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for titles */
}

.page-index-latest-promotions__section-description,
.page-index-latest-promotions__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0; /* Slightly off-white for readability */
}

.page-index-latest-promotions__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  padding-bottom: 60px;
  background-color: #000000;
  color: #ffffff;
}

.page-index-latest-promotions__hero-content {
  flex: 1;
  text-align: left;
  padding: 0 40px;
}

.page-index-latest-promotions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #26A9E0;
  line-height: 1.2;
}

.page-index-latest-promotions__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-index-latest-promotions__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.page-index-latest-promotions__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 40px;
}

.page-index-latest-promotions__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-index-latest-promotions__btn-primary,
.page-index-latest-promotions__btn-secondary,
.page-index-latest-promotions__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  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;
  box-sizing: border-box;
  max-width: 100%;
}

.page-index-latest-promotions__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-index-latest-promotions__btn-primary:hover {
  background-color: #1e87b8;
  border-color: #1e87b8;
}

.page-index-latest-promotions__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-index-latest-promotions__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-index-latest-promotions__btn-tertiary {
  background-color: #EA7C07; /* Login color for tertiary actions */
  color: #ffffff;
  border: 2px solid #EA7C07;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-index-latest-promotions__btn-tertiary:hover {
  background-color: #c96706;
  border-color: #c96706;
}

.page-index-latest-promotions__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-latest-promotions__category-item {
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: #ffffff; /* Light text for category items */
}

.page-index-latest-promotions__category-image {
  max-width: 100%;
  height: auto;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  margin-bottom: 15px;
}

.page-index-latest-promotions__category-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index-latest-promotions__category-text {
  font-size: 0.95em;
  color: #f0f0f0;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-index-latest-promotions__category-item .page-index-latest-promotions__btn-tertiary {
  margin-top: auto; /* Push button to bottom */
  margin-bottom: 15px;
}

.page-index-latest-promotions__featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-latest-promotions__promo-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: #ffffff; /* Light text for promo cards */
}

.page-index-latest-promotions__promo-image {
  max-width: 100%;
  height: auto;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.page-index-latest-promotions__promo-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-latest-promotions__promo-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-index-latest-promotions__promo-text {
  font-size: 0.95em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-latest-promotions__promo-content .page-index-latest-promotions__btn-primary {
  margin-top: auto;
  align-self: flex-start;
}

.page-index-latest-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
}

.page-index-latest-promotions__terms-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for list items */
  color: #f0f0f0;
  padding: 15px;
  margin-bottom: 10px;
  border-left: 4px solid #26A9E0;
  border-radius: 4px;
  font-size: 1em;
}

.page-index-latest-promotions__terms-item strong {
  color: #26A9E0;
}

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

.page-index-latest-promotions__step-item {
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
}

.page-index-latest-promotions__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.page-index-latest-promotions__step-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index-latest-promotions__step-text {
  font-size: 0.95em;
  color: #f0f0f0;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-index-latest-promotions__step-item .page-index-latest-promotions__btn-tertiary {
  margin-top: auto;
  margin-bottom: 15px;
}

.page-index-latest-promotions__how-to-cta {
  margin-top: 50px;
  justify-content: center;
}

.page-index-latest-promotions__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-index-latest-promotions__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for contrast on dark body */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff; /* Light text for FAQ items */
}

.page-index-latest-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-latest-promotions__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

.page-index-latest-promotions__faq-item.active .page-index-latest-promotions__faq-toggle {
  transform: rotate(45deg); /* Or simply change text to '−' */
}

.page-index-latest-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-index-latest-promotions__faq-item.active .page-index-latest-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px;
}

.page-index-latest-promotions__faq-answer p {
  margin-bottom: 0;
  color: #f0f0f0;
}

.page-index-latest-promotions__conclusion-cta {
  padding-bottom: 80px;
}

.page-index-latest-promotions__final-cta {
  margin-top: 30px;
  font-size: 1.5em;
  padding: 18px 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-latest-promotions__hero-title {
    font-size: 3em;
  }
  .page-index-latest-promotions__hero-description {
    font-size: 1.2em;
  }
  .page-index-latest-promotions__hero-section {
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
  }
  .page-index-latest-promotions__hero-content,
  .page-index-latest-promotions__hero-image-wrapper {
    padding: 0;
    width: 100%;
    text-align: center;
  }
  .page-index-latest-promotions__hero-content {
    margin-bottom: 40px;
  }
  .page-index-latest-promotions__hero-cta-buttons {
    justify-content: center;
  }
  .page-index-latest-promotions__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-index-latest-promotions__hero-title {
    font-size: 2.5em;
  }
  .page-index-latest-promotions__hero-description {
    font-size: 1.1em;
  }
  .page-index-latest-promotions__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-latest-promotions__btn-primary,
  .page-index-latest-promotions__btn-secondary,
  .page-index-latest-promotions__btn-tertiary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-latest-promotions__section {
    padding: 40px 0;
  }
  .page-index-latest-promotions__container {
    padding: 0 15px;
  }
  .page-index-latest-promotions__promo-card,
  .page-index-latest-promotions__category-item,
  .page-index-latest-promotions__step-item {
    padding: 20px 15px;
  }

  /* Image responsive adaptations */
  .page-index-latest-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-index-latest-promotions__section,
  .page-index-latest-promotions__card,
  .page-index-latest-promotions__container,
  .page-index-latest-promotions__hero-section,
  .page-index-latest-promotions__promo-card,
  .page-index-latest-promotions__category-item,
  .page-index-latest-promotions__step-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-index-latest-promotions__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure spacing on mobile */
  }
  .page-index-latest-promotions__hero-content {
    text-align: center;
  }
  .page-index-latest-promotions__hero-cta-buttons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  .page-index-latest-promotions__faq-question {
    font-size: 1.1em;
    padding: 12px 15px;
  }
  .page-index-latest-promotions__faq-answer {
    padding: 0 15px;
  }
  .page-index-latest-promotions__faq-item.active .page-index-latest-promotions__faq-answer {
    padding: 12px 15px;
  }
}