.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
}

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  box-sizing: border-box;
  overflow: hidden;
  text-align: center;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
}

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

.page-promotions__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 1.15rem;
  color: #555555;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-promotions__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-promotions__btn-primary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-promotions__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-promotions__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2e;
  border-color: #005a2e;
}

.page-promotions__introduction-section,
.page-promotions__how-to-claim-section,
.page-promotions__faq-section {
  padding: 60px 20px;
}

.page-promotions__promo-types-section,
.page-promotions__cta-section {
  padding: 60px 20px;
  background-color: #017439;
  color: #ffffff;
}

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

.page-promotions__heading {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 30px;
  text-align: center;
  color: #017439;
  font-weight: bold;
}

.page-promotions__heading--white {
  color: #ffffff;
}

.page-promotions__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__text-block--white {
  color: #ffffff;
}

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

.page-promotions__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-promotions__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-promotions__card-title {
  font-size: 1.6rem;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__card-description {
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__steps-list {
  list-style: none;
  counter-reset: step-counter;
  max-width: 900px;
  margin: 40px auto;
  padding: 0;
}

.page-promotions__list-item {
  counter-increment: step-counter;
  margin-bottom: 25px;
  padding-left: 50px;
  position: relative;
  font-size: 1.1rem;
}

.page-promotions__list-item::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #017439;
  color: #ffffff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.page-promotions__list-item a {
  color: #017439;
  text-decoration: underline;
}

.page-promotions__list-item a:hover {
  color: #005a2e;
}

.page-promotions__faq-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__faq-list {
  max-width: 900px;
  margin: 40px auto;
}

.page-promotions__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
}

.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}

.page-promotions__faq-question::marker {
  display: none;
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  border-bottom: 1px solid #e0e0e0;
}

.page-promotions__faq-qtext {
  flex-grow: 1;
}

.page-promotions__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #017439;
}

.page-promotions__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1.05rem;
  color: #555555;
}

.page-promotions__faq-answer p {
  margin-bottom: 10px;
}

.page-promotions__cta-content {
  text-align: center;
}

.page-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Custom colors */
.page-promotions__btn-primary.page-promotions__btn-register {
  background-color: #C30808;
  border-color: #C30808;
  color: #FFFF00; /* Register font color */
}

.page-promotions__btn-primary.page-promotions__btn-register:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-promotions__btn-primary.page-promotions__btn-login {
  background-color: #C30808;
  border-color: #C30808;
  color: #FFFF00; /* Login font color */
}

.page-promotions__btn-primary.page-promotions__btn-login:hover {
  background-color: #a00606;
  border-color: #a00606;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-promotions__heading {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
  .page-promotions__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-promotions__hero-section,
  .page-promotions__introduction-section,
  .page-promotions__promo-types-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__faq-section,
  .page-promotions__cta-section {
    padding: 30px 15px;
  }
  .page-promotions__hero-image {
    margin-bottom: 20px;
  }
  .page-promotions__hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-promotions__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-promotions__heading {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .page-promotions__text-block {
    font-size: 1rem;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }
  .page-promotions__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__card-image {
    height: 180px;
  }
  .page-promotions__card-title {
    font-size: 1.4rem;
  }
  .page-promotions__list-item {
    padding-left: 45px;
    font-size: 1rem;
  }
  .page-promotions__list-item::before {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  .page-promotions__faq-question {
    padding: 15px 20px;
    font-size: 1.05rem;
  }
  .page-promotions__faq-toggle {
    font-size: 1.5rem;
  }
  .page-promotions__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95rem;
  }

  /* Mobile image responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__introduction-section,
  .page-promotions__promo-types-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__faq-section,
  .page-promotions__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  .page-promotions__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  .page-promotions__video-section {
    padding-top: 10px !important;
  }
}