/* Base styles for the page content */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f5f5f5; /* Light background as per body background color type */
}

/* Section styling */
.page-promotions__section {
  padding: 60px 0;
}

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

.page-promotions__section--dark-bg {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff; /* White text on dark background */
}

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

.page-promotions__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand primary color for titles on light background */
}

.page-promotions__section-title--white {
  color: #ffffff; /* White color for titles on dark background */
}

.page-promotions__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

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

.page-promotions__hero-content {
  padding: 40px 15px 60px;
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
  font-weight: 800;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-promotions__description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #333333;
}

.page-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__promo-button,
.page-promotions__step-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-promotions__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87c0;
  border-color: #1e87c0;
}

.page-promotions__btn-large {
  padding: 18px 40px;
  font-size: 20px;
}

/* Promotions Grid */
.page-promotions__promotions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

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

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

.page-promotions__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

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

.page-promotions__promo-title {
  font-size: 20px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.3;
}

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

.page-promotions__promo-button {
  background-color: #EA7C07; /* Login color for action */
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  margin-top: auto; /* Push button to bottom */
}

.page-promotions__promo-button:hover {
  background-color: #c96706;
}

/* Advantages Grid */
.page-promotions__advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__advantage-item {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark bg */
  color: #ffffff;
}

.page-promotions__advantage-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__advantage-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-promotions__advantage-text {
  font-size: 15px;
  color: #f0f0f0;
}

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

/* How to Claim Section */
.page-promotions__how-to-claim {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-promotions__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #26A9E0;
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.page-promotions__step-title {
  font-size: 22px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

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

.page-promotions__step-button {
  background-color: #EA7C07;
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  margin-top: auto;
}

.page-promotions__step-button:hover {
  background-color: #c96706;
}

/* FAQ Section */
details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2); /* Lighter border on dark bg */
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent background */
}
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;
  color: #ffffff; /* White text on dark background */
}
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: rgba(255, 255, 255, 0.1);
}
.page-promotions__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #ffffff;
}
.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  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: rgba(255, 255, 255, 0.03); /* Even lighter transparent background */
  border-radius: 0 0 5px 5px;
  color: #f0f0f0; /* Slightly off-white text for answer */
}
.page-promotions__faq-answer p {
  color: #f0f0f0;
}

/* CTA Section (final) */
.page-promotions__cta-content {
  text-align: center;
  padding: 60px 15px;
}

/* Image responsive base */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .page-promotions__promotions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-promotions__advantages-grid,
  .page-promotions__how-to-claim {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* General page content */
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-promotions__section {
    padding: 40px 0;
  }
  .page-promotions__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO Section Mobile */
  .page-promotions__hero-section {
    padding-top: 10px; /* Consistent small top padding */
  }
  .page-promotions__hero-image img {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions__hero-content {
    padding: 30px 15px 40px;
  }
  .page-promotions__main-title {
    font-size: clamp(24px, 7vw, 36px); /* Smaller on mobile, but still prominent */
    text-align: center;
  }
  .page-promotions__description {
    font-size: 16px;
    text-align: center;
  }
  .page-promotions__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    width: 100%; /* Ensure buttons take full width */
  }

  /* Buttons Mobile */
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions__promo-button,
  .page-promotions__step-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;
  }
  .page-promotions__btn-large {
    font-size: 18px;
    padding: 15px 30px;
  }

  /* Section Titles Mobile */
  .page-promotions__section-title {
    font-size: 28px;
    margin-bottom: 15px;
    padding: 0 10px; /* Prevent text from touching edges */
  }
  .page-promotions__section-description {
    font-size: 15px;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  /* Promotions Grid Mobile */
  .page-promotions__promotions-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  .page-promotions__promo-card {
    margin: 0 auto; /* Center cards */
    max-width: 400px; /* Limit card width */
    width: 100%;
  }
  .page-promotions__promo-image {
    height: 180px; /* Slightly smaller image height */
  }
  .page-promotions__promo-title {
    font-size: 18px;
  }
  .page-promotions__promo-text {
    font-size: 14px;
  }

  /* Advantages Grid Mobile */
  .page-promotions__advantages-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }
  .page-promotions__advantage-item {
    padding: 15px;
  }
  .page-promotions__advantage-icon {
    width: 80px;
    height: 80px;
  }
  .page-promotions__advantage-title {
    font-size: 20px;
  }
  .page-promotions__advantage-text {
    font-size: 14px;
  }

  /* How to Claim Section Mobile */
  .page-promotions__how-to-claim {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }
  .page-promotions__step-card {
    padding: 25px;
    max-width: 400px; /* Limit card width */
    margin: 0 auto;
  }
  .page-promotions__step-number {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  .page-promotions__step-title {
    font-size: 20px;
  }
  .page-promotions__step-description {
    font-size: 14px;
  }

  /* FAQ Section Mobile */
  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;
  }
  .page-promotions__faq-answer p {
    font-size: 14px;
  }

  /* Generic image responsive */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Content area containers for mobile */
  .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;
  }
}