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

.page-promotions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Fixed small top padding */
  padding-bottom: 40px;
  background: #ffffff; /* Explicitly set light background */
  color: #333333;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-promotions__hero-content {
  max-width: 900px;
  padding: 20px;
}

.page-promotions__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em);
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555555;
}

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

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

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

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

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

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

.page-promotions__btn-inline {
  display: inline-block;
  padding: 8px 15px;
  background: #017439;
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 10px;
  transition: background 0.3s ease;
}

.page-promotions__btn-inline:hover {
  background: #005a2e;
}

.page-promotions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-promotions__introduction,
.page-promotions__how-to-join,
.page-promotions__benefits,
.page-promotions__cta-section {
  padding-bottom: 40px;
  background: #ffffff;
  color: #333333;
}

.page-promotions__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 20px;
}

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

.page-promotions__paragraph {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-promotions__paragraph--white {
  color: #f0f0f0;
}

.page-promotions__promotion-types {
  background: #017439; /* Dark brand color background */
  padding: 60px 0;
  color: #ffffff;
}

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

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

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

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

.page-promotions__card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-promotions__card-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #017439;
  margin-bottom: 10px;
}

.page-promotions__card-description {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: #017439;
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  transition: background 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-promotions__card-button:hover {
  background: #005a2e;
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-promotions__list-item {
  background: #f9f9f9;
  border-left: 5px solid #017439;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions__list-item--white {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: #ffffff;
  color: #f0f0f0;
}

.page-promotions__list-title {
  font-size: 1.25em;
  font-weight: 600;
  color: #017439;
  margin-bottom: 10px;
}

.page-promotions__list-item--white .page-promotions__list-title {
  color: #ffffff;
}

.page-promotions__list-description {
  font-size: 1em;
  line-height: 1.6;
}

.page-promotions__terms-conditions {
  background: #017439;
  padding: 60px 0;
  color: #ffffff;
}

.page-promotions__terms-list {
  list-style: disc;
  padding-left: 25px;
  margin-top: 30px;
}

.page-promotions__terms-list--white {
  color: #f0f0f0;
}

.page-promotions__terms-list .page-promotions__list-item {
  background: none;
  border: none;
  box-shadow: none;
  padding: 5px 0;
  margin-bottom: 10px;
}

.page-promotions__terms-list--white .page-promotions__list-item {
  color: #f0f0f0;
}

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

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

.page-promotions__btn-secondary--white-border:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

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

.page-promotions__benefits-list .page-promotions__list-item {
  background: #f9f9f9;
  border-left: 5px solid #017439;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 0; /* Override default list-item margin */
}

.page-promotions__faq-section {
  background: #017439;
  padding: 60px 0;
  color: #ffffff;
}

.page-promotions__faq-list {
  margin-top: 30px;
}

.page-promotions__faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  color: #ffffff;
  list-style: none; /* For <details> summary */
}

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

.page-promotions__faq-qtext--white {
  color: #ffffff;
}

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

.page-promotions__faq-toggle--white {
  color: #ffffff;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-promotions__faq-answer--white {
  color: #f0f0f0;
}

.page-promotions__cta-section {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 60px 20px;
  background: #ffffff;
  color: #333333;
}

.page-promotions__cta-content {
  flex: 1;
  text-align: left;
  padding: 0; /* Reset padding from .page-promotions__content-area */
}

.page-promotions__cta-image-wrapper {
  flex: 1;
  max-width: 50%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-promotions__cta-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-promotions__cta-buttons--bottom {
  margin-top: 30px;
  justify-content: flex-start;
}

/* Override for specific button colors as per instructions */
.page-promotions__btn-primary[href*="redirect?plink_id"] {
  background: #C30808;
  color: #FFFF00;
  border-color: #C30808;
}

.page-promotions__btn-primary[href*="redirect?plink_id"]:hover {
  background: #a30606;
  border-color: #a30606;
  color: #FFFF00;
}

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

/* Mobile Styles */
@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 20px;
  }

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

  .page-promotions__main-title {
    font-size: 2em;
    margin-bottom: 10px;
  }

  .page-promotions__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .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;
  }

  .page-promotions__content-area,
  .page-promotions__introduction,
  .page-promotions__how-to-join,
  .page-promotions__benefits,
  .page-promotions__cta-section,
  .page-promotions__promotion-types,
  .page-promotions__terms-conditions,
  .page-promotions__faq-section {
    padding: 20px 15px !important; /* General padding for sections */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-promotions__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__card-image {
    height: 180px;
  }

  .page-promotions__card-title {
    font-size: 1.2em;
  }

  .page-promotions__list-item {
    padding: 15px;
  }

  .page-promotions__list-title {
    font-size: 1.1em;
  }

  .page-promotions__terms-list {
    padding-left: 20px;
  }

  .page-promotions__benefits-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

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

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

  .page-promotions__cta-section {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

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

  .page-promotions__cta-image-wrapper {
    max-width: 100%;
  }

  .page-promotions__cta-buttons--bottom {
    justify-content: center;
  }

  /* General image and container 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,
  .page-promotions__hero-image-wrapper,
  .page-promotions__cta-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }
}