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

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

.page-promotions__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  margin-bottom: 40px;
  text-align: center;
  background-color: #f8f8f8;
  overflow: hidden;
}

.page-promotions__hero-image-container {
  width: 100%;
  max-height: 600px; /* Limit hero image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-promotions__hero-content {
  padding: 40px 20px;
  background-color: #ffffff;
  text-align: center;
}

.page-promotions__main-title {
  font-size: 38px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-promotions__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 25px;
}

.page-promotions__section-title--light {
  color: #ffffff;
}

.page-promotions__section-description {
  font-size: 16px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-promotions__overview-section,
.page-promotions__how-to-claim,
.page-promotions__faq-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

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

.page-promotions__dark-section {
  background-color: #017439;
  color: #ffffff;
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-promotions__dark-section .page-promotions__section-description {
  color: #e0e0e0;
}

.page-promotions__promo-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__promo-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-promotions__promo-item:hover {
  transform: translateY(-5px);
}

.page-promotions__promo-item-title {
  font-size: 22px;
  color: #017439;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions__promo-item-text {
  font-size: 16px;
  color: #555555;
}

.page-promotions__featured-promotions {
  padding: 60px 0;
}

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

.page-promotions__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
}

.page-promotions__promo-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-promotions__promo-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-promotions__promo-card-title {
  font-size: 20px;
  color: #017439;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions__promo-card-description {
  font-size: 15px;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__step-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.page-promotions__step-title {
  font-size: 22px;
  color: #017439;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions__step-text {
  font-size: 16px;
  color: #555555;
}

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

.page-promotions__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom color for register/login font */
  border: 2px solid #C30808;
}

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

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

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

/* FAQ Styles */
details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-promotions__faq-item summary.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-promotions__faq-item summary.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}
details.page-promotions__faq-item summary.page-promotions__faq-question:hover {
  background: #f5f5f5;
}
.page-promotions__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

/* General image responsiveness */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Button container responsiveness */
.page-promotions__cta-buttons,
.page-promotions__button-group,
.page-promotions__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-promotions__container {
    padding: 0 15px;
  }

  .page-promotions__hero-section {
    margin-bottom: 20px;
  }

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

  .page-promotions__main-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-promotions__hero-description {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .page-promotions__section-title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .page-promotions__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-promotions__overview-section,
  .page-promotions__how-to-claim,
  .page-promotions__faq-section,
  .page-promotions__dark-section {
    padding: 40px 0;
    margin-bottom: 20px;
  }

  .page-promotions__promo-list,
  .page-promotions__steps-list {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 20px;
  }

  .page-promotions__promo-item,
  .page-promotions__step-item {
    padding: 20px;
  }

  .page-promotions__promo-item-title,
  .page-promotions__step-title {
    font-size: 20px;
  }

  .page-promotions__promo-item-text,
  .page-promotions__step-text {
    font-size: 14px;
  }

  .page-promotions__promo-cards-grid {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 20px;
  }

  .page-promotions__promo-card-image {
    height: 180px;
  }

  .page-promotions__promo-card-content {
    padding: 20px;
  }

  .page-promotions__promo-card-title {
    font-size: 18px;
  }

  .page-promotions__promo-card-description {
    font-size: 14px;
  }

  .page-promotions__cta-bottom {
    margin-top: 30px;
  }

  /* Buttons responsiveness */
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions a[class*="button"],
  .page-promotions a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px; /* Add space between stacked buttons */
  }

  /* Button containers responsiveness */
  .page-promotions__cta-buttons,
  .page-promotions__button-group,
  .page-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px; /* Space between stacked buttons */
  }

  /* FAQ Mobile Styles */
  details.page-promotions__faq-item summary.page-promotions__faq-question {
    padding: 15px;
  }
  .page-promotions__faq-qtext {
    font-size: 15px;
  }
  .page-promotions__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-promotions__faq-item .page-promotions__faq-answer {
    padding: 0 15px 15px;
  }

  /* General image responsiveness for mobile */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* --- Tablet Responsive Styles (max-width: 1024px) --- */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 32px;
  }
  .page-promotions__section-title {
    font-size: 28px;
  }
  .page-promotions__promo-list,
  .page-promotions__steps-list {
    gap: 25px;
  }
  .page-promotions__promo-cards-grid {
    grid-template-columns: repeat(2, 1fr); /* Two columns for tablet */
    gap: 25px;
  }
  .page-promotions__promo-card-image {
    height: 220px;
  }
}