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

.page-index-latest-promotions__hero-section {
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  padding-bottom: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-index-latest-promotions__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.4;
  filter: none !important; /* Ensure no filter is applied */
}

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

.page-index-latest-promotions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-index-latest-promotions__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-index-latest-promotions__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
  cursor: pointer;
  min-width: 200px; /* Ensure buttons are not too small */
}

.page-index-latest-promotions__button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000;
  border: none;
}

.page-index-latest-promotions__button--primary:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

.page-index-latest-promotions__button--secondary {
  background-color: #FFFFFF; /* Register color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index-latest-promotions__button--secondary:hover {
  background-color: #F0F0F0;
  transform: translateY(-2px);
}

.page-index-latest-promotions__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-index-latest-promotions__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-index-latest-promotions__promotions-overview,
.page-index-latest-promotions__how-to-claim,
.page-index-latest-promotions__terms-section,
.page-index-latest-promotions__faq-section,
.page-index-latest-promotions__cta-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

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

.page-index-latest-promotions__promo-card {
  background-color: #FFFFFF;
  border: 1px solid #EEEEEE;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-latest-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-index-latest-promotions__promo-card img {
  width: 100%;
  max-width: 400px; /* Max width for card images, ensuring min 200px display */
  height: auto;
  min-height: 250px; /* Minimum height for card images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  filter: none !important; /* Ensure no filter is applied */
}

.page-index-latest-promotions__card-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

.page-index-latest-promotions__card-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
  text-align: left;
}

.page-index-latest-promotions__button--card {
  padding: 12px 25px;
  font-size: 1em;
  background-color: #FCBC45;
  color: #000000;
  border: none;
  min-width: 180px;
}

.page-index-latest-promotions__button--card:hover {
  background-color: #e0a53a;
}

.page-index-latest-promotions__claim-steps {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-index-latest-promotions__step-item {
  background-color: #F9F9F9;
  border-left: 5px solid #FCBC45;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-index-latest-promotions__step-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
}

.page-index-latest-promotions__step-text {
  color: #555555;
  margin-bottom: 20px;
}

.page-index-latest-promotions__button--step {
  padding: 10px 20px;
  font-size: 0.95em;
  background-color: #000000;
  color: #FFFFFF;
  border: none;
}

.page-index-latest-promotions__button--step:hover {
  background-color: #333333;
}

.page-index-latest-promotions__terms-list {
  list-style: none;
  padding: 0;
}

.page-index-latest-promotions__term-item {
  background-color: #FFFFFF;
  border: 1px solid #EEEEEE;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.page-index-latest-promotions__term-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-index-latest-promotions__term-text {
  color: #555555;
}

.page-index-latest-promotions__button--full-terms {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  padding: 15px 30px;
  background-color: #FCBC45;
  color: #000000;
  border: none;
}

.page-index-latest-promotions__button--full-terms:hover {
  background-color: #e0a53a;
}

.page-index-latest-promotions__faq-list {
  margin-top: 50px;
}

.page-index-latest-promotions__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #EEEEEE;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-index-latest-promotions__faq-question {
  font-size: 1.3em;
  color: #000000;
  padding: 20px 25px;
  cursor: pointer;
  position: relative;
  margin: 0;
  background-color: #F9F9F9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-index-latest-promotions__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-index-latest-promotions__faq-item.active .page-index-latest-promotions__faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

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

.page-index-latest-promotions__faq-item.active .page-index-latest-promotions__faq-answer {
  max-height: 200px; /* Adjust as needed */
  padding-top: 10px;
}

.page-index-latest-promotions__button--faq {
  padding: 10px 20px;
  font-size: 0.95em;
  background-color: #000000;
  color: #FFFFFF;
  border: none;
  margin-top: 15px;
  display: inline-block;
}

.page-index-latest-promotions__button--faq:hover {
  background-color: #333333;
}

.page-index-latest-promotions__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 60px 20px;
  border-radius: 10px;
  margin-top: 60px;
  margin-bottom: 60px;
}

.page-index-latest-promotions__cta-section .page-index-latest-promotions__section-title {
  color: #FFFFFF;
}

.page-index-latest-promotions__cta-section .page-index-latest-promotions__section-description {
  color: #F0F0F0;
  margin-bottom: 40px;
}

.page-index-latest-promotions__cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index-latest-promotions__hero-title {
    font-size: 3em;
  }
}

@media (max-width: 768px) {
  .page-index-latest-promotions__hero-section {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
    padding-bottom: 40px;
  }

  .page-index-latest-promotions__hero-content {
    padding: 30px 15px;
  }

  .page-index-latest-promotions__hero-title {
    font-size: 2.2em;
  }

  .page-index-latest-promotions__hero-description {
    font-size: 1em;
  }

  .page-index-latest-promotions__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-latest-promotions__button {
    width: 100%;
    max-width: 300px;
  }

  .page-index-latest-promotions__section-title {
    font-size: 2em;
  }

  .page-index-latest-promotions__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-index-latest-promotions__promotions-overview,
  .page-index-latest-promotions__how-to-claim,
  .page-index-latest-promotions__terms-section,
  .page-index-latest-promotions__faq-section,
  .page-index-latest-promotions__cta-section {
    padding: 30px 15px;
  }

  .page-index-latest-promotions__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-index-latest-promotions__promo-card img {
    max-width: 100%;
    min-height: 200px; /* Ensure images are not too small */
  }

  .page-index-latest-promotions__card-title {
    font-size: 1.5em;
  }

  .page-index-latest-promotions__claim-steps {
    grid-template-columns: 1fr;
  }

  .page-index-latest-promotions__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-index-latest-promotions__faq-answer {
    padding: 0 20px 15px 20px;
  }

  .page-index-latest-promotions__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  
  /* Ensure content images do not overflow */
  .page-index-latest-promotions img {
    max-width: 100%;
    height: auto;
    filter: none !important; /* Ensure no filter is applied */
  }
  .page-index-latest-promotions {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-index-latest-promotions__hero-title {
    font-size: 1.8em;
  }

  .page-index-latest-promotions__button {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-index-latest-promotions__section-title {
    font-size: 1.8em;
  }
}

/* Ensure all content images meet the minimum size requirement */
.page-index-latest-promotions__promo-card img,
.page-index-latest-promotions__claim-steps .page-index-latest-promotions__step-item img {
  min-width: 200px;
  min-height: 200px;
}