/* style/promotions.css */
.page-promotions {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default dark text for light body background */
  line-height: 1.6;
  background-color: var(--background-color, #f5f5f5);
}

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

.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 30px;
}

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

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

.page-promotions__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

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

.page-promotions__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-promotions__promo-overview,
.page-promotions__new-member-promo,
.page-promotions__promo-types,
.page-promotions__terms-section,
.page-promotions__faq-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background for these sections */
  color: #333333;
}

.page-promotions__existing-member-promo,
.page-promotions__how-to-claim,
.page-promotions__conclusion {
  padding: 80px 0;
  background-color: #26A9E0; /* Brand primary color background */
  color: #ffffff;
}

.page-promotions__existing-member-promo .page-promotions__section-title,
.page-promotions__how-to-claim .page-promotions__section-title,
.page-promotions__conclusion .page-promotions__section-title {
  color: #ffffff;
}

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

.page-promotions__important-note {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-left: 5px solid #EA7C07;
  margin-bottom: 30px;
  color: #333333;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.page-promotions__main-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  object-fit: cover;
}

.page-promotions__card-grid,
.page-promotions__promo-type-grid,
.page-promotions__steps-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__card-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-promotions__promo-type-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-promotions__steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-promotions__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-promotions__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.page-promotions__dark-bg-card {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.page-promotions__dark-bg-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

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

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

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

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

.page-promotions__sub-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #26A9E0;
}

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

.page-promotions__list,
.page-promotions__list-ordered,
.page-promotions__list-terms {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
  color: #333333;
}

.page-promotions__dark-bg-card .page-promotions__list,
.page-promotions__dark-bg-card .page-promotions__list-ordered,
.page-promotions__dark-bg-card .page-promotions__list-terms {
  color: #ffffff;
}

.page-promotions__list li,
.page-promotions__list-ordered li,
.page-promotions__list-terms li {
  margin-bottom: 8px;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: auto; /* Push buttons to bottom of flex container */
  margin-bottom: 10px;
}

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

.page-promotions__btn-primary:hover {
  background-color: #cc6a00;
  border-color: #cc6a00;
  transform: translateY(-2px);
}

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

.page-promotions__btn-secondary:hover {
  background-color: #1e87b5;
  border-color: #1e87b5;
  transform: translateY(-2px);
}

.page-promotions__how-to-claim .page-promotions__text-block {
  color: #ffffff;
}

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

.page-promotions__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  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.15rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  color: #26A9E0;
  list-style: none; /* For details/summary */
}

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

.page-promotions__faq-question:hover {
  background-color: #f0f0f0;
}

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

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

.page-promotions__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
}

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

.page-promotions__conclusion .page-promotions__text-block {
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: center;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-section {
    padding: 40px 20px;
  }

  .page-promotions__section-title {
    margin-bottom: 30px;
  }

  .page-promotions__promo-overview,
  .page-promotions__new-member-promo,
  .page-promotions__existing-member-promo,
  .page-promotions__promo-types,
  .page-promotions__terms-section,
  .page-promotions__how-to-claim,
  .page-promotions__faq-section,
  .page-promotions__conclusion {
    padding: 60px 0;
  }

  .page-promotions__card-grid,
  .page-promotions__promo-type-grid,
  .page-promotions__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promotions__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important;
  }

  .page-promotions__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

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

  .page-promotions__section-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
    margin-bottom: 25px;
  }

  .page-promotions__promo-overview,
  .page-promotions__new-member-promo,
  .page-promotions__existing-member-promo,
  .page-promotions__promo-types,
  .page-promotions__terms-section,
  .page-promotions__how-to-claim,
  .page-promotions__faq-section,
  .page-promotions__conclusion {
    padding: 40px 0;
  }

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

  .page-promotions__card-grid,
  .page-promotions__promo-type-grid,
  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__card {
    padding: 25px;
    align-items: center;
    text-align: center;
  }

  .page-promotions__card-image,
  .page-promotions__step-image {
    max-height: 200px;
  }

  .page-promotions__card-title,
  .page-promotions__sub-title {
    text-align: center;
  }

  .page-promotions__list,
  .page-promotions__list-ordered,
  .page-promotions__list-terms {
    margin-left: 0;
    padding-left: 20px;
    text-align: left;
  }

  .page-promotions__cta-button {
    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-top: 15px;
  }

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

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

  /* Mobile image responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-image-wrapper,
  .page-promotions__promo-overview,
  .page-promotions__new-member-promo,
  .page-promotions__existing-member-promo,
  .page-promotions__promo-types,
  .page-promotions__terms-section,
  .page-promotions__how-to-claim,
  .page-promotions__faq-section,
  .page-promotions__conclusion {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow for sections */
  }
  
  /* Specific adjustments for hero section padding on mobile if needed */
  .page-promotions__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-promotions__hero-content {
    padding: 0 15px;
  }

  /* Button group for mobile */
  .page-promotions__button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: clamp(1.8rem, 9vw, 2.2rem);
  }

  .page-promotions__cta-button {
    font-size: 0.95rem;
    padding: 10px 20px;
  }

  .page-promotions__faq-question {
    font-size: 0.95rem;
  }
}