.page-promotions {
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #FFFFFF); /* Ensure a default light background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

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

.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  min-height: 500px;
  overflow: hidden;
  color: #ffffff;
  background-color: #26A9E0; /* Brand primary color for hero */
  padding-top: var(--header-offset, 120px); /* Ensure header offset for the first section */
}

.page-promotions__hero-content {
  z-index: 1;
  max-width: 800px;
}

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

.page-promotions__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #ffffff;
}

.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: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-promotions__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

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

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

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-promotions__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0; /* Brand primary color for titles */
}

.page-promotions__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-promotions__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

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

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

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

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

.page-promotions__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-promotions__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

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

.page-promotions__small-text {
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 30px;
}

.page-promotions__features-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.page-promotions__feature-item {
  display: flex;
  align-items: center;
  gap: 30px;
}

.page-promotions__feature-item:nth-child(even) {
  flex-direction: row-reverse;
}

.page-promotions__feature-image {
  width: 40%;
  min-width: 200px; /* Minimum size requirement */
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.page-promotions__feature-content {
  flex: 1;
}

.page-promotions__feature-title {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-promotions__feature-description {
  font-size: 1.1em;
  line-height: 1.6;
}

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

.page-promotions__cashback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-promotions__cashback-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  color: #ffffff;
}

.page-promotions__cashback-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
  object-fit: contain;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-promotions__cashback-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-promotions__cashback-description {
  font-size: 0.95em;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

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

.page-promotions__event-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-promotions__event-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

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

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

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

.page-promotions__vip-benefits {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-promotions__vip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  min-width: 300px;
}

.page-promotions__vip-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  color: #ffffff;
}

.page-promotions__vip-item::before {
  content: '✔';
  color: #EA7C07; /* Login color for checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-promotions__vip-image {
  width: 45%;
  min-width: 300px; /* Minimum size requirement */
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

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

.page-promotions__guide-step {
  background-color: #f5f5f5;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__guide-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #26A9E0;
}

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

.page-promotions__btn-secondary--center {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  color: #ffffff;
  border-color: #ffffff;
}

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

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

.page-promotions__faq-item {
  background-color: #f5f5f5;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  color: #26A9E0;
  background-color: #e0f2f7; /* Lighter shade of brand color */
  border-bottom: 1px solid #d0e8ef;
}

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

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

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

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

.page-promotions__faq-answer p {
  margin: 0;
}

/* Details element specific styling */
.page-promotions__faq-item summary::-webkit-details-marker,
.page-promotions__faq-item summary::marker {
  display: none;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 2.8em;
  }

  .page-promotions__hero-description {
    font-size: 1.1em;
  }

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

  .page-promotions__feature-item {
    flex-direction: column;
    text-align: center;
  }

  .page-promotions__feature-item:nth-child(even) {
    flex-direction: column;
  }

  .page-promotions__feature-image {
    width: 80%;
    min-width: 200px;
  }

  .page-promotions__vip-benefits {
    flex-direction: column;
    gap: 30px;
  }

  .page-promotions__vip-image {
    width: 80%;
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 60px 15px;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile hero */
  }

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

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

  .page-promotions__container {
    padding: 20px 15px;
  }

  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    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__card-grid,
  .page-promotions__cashback-grid,
  .page-promotions__event-grid,
  .page-promotions__download-guide {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__feature-image {
    width: 100%;
    min-width: 200px;
  }
}