.page-promotions {
  color: #ffffff; /* Body background is dark (#121212), so use light text */
}

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

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Default desktop offset */
  padding-bottom: 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 500px;
}

.page-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-promotions__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-promotions__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  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: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

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

/* General Section Styling */
.page-promotions__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-promotions__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #f0f0f0; /* Light text for general content on dark body */
}

/* Overview Section */
.page-promotions__overview-section {
  padding: 60px 0;
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
}

/* Featured Promotions Grid */
.page-promotions__featured-promotions {
  padding: 60px 0;
}

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

.page-promotions__promotion-card {
  background: rgba(255, 255, 255, 0.1); /* Card background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-promotions__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__card-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
}

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

.page-promotions__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-promotions__card-title a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions__card-title a:hover {
  color: #ffffff;
}

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

/* Benefits Section */
.page-promotions__benefits-section {
  padding: 80px 0;
  background: #26A9E0; /* Brand color background */
  color: #ffffff; /* White text for contrast */
}

.page-promotions__benefits-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

.page-promotions__benefits-section .page-promotions__section-title {
  color: #ffffff;
  text-align: left;
}

.page-promotions__benefits-section .page-promotions__text-block {
  color: #f0f0f0;
}

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

.page-promotions__benefits-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.05em;
  line-height: 1.5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__benefits-item strong {
  color: #ffffff;
}

.page-promotions__benefits-image {
  flex: 0 0 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* How to Claim Section */
.page-promotions__how-to-claim {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-promotions__how-to-claim .page-promotions__container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-promotions__steps-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-top: 30px;
  flex: 1;
}

.page-promotions__steps-item {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-promotions__steps-item strong {
  color: #ffffff;
}

.page-promotions__how-to-claim-image {
  flex: 0 0 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 60px 0;
  background: rgba(255, 255, 255, 0.1);
}

.page-promotions__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions__faq-item {
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

.page-promotions__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

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

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  transform: rotate(45deg);
  content: '−'; /* This will be handled by JS */
}

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

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

/* CTA Section */
.page-promotions__cta-section {
  padding: 80px 0;
  text-align: center;
  background: #26A9E0;
  color: #ffffff;
}

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

.page-promotions__cta-section .page-promotions__text-block {
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

/* Responsive Styles */
@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__benefits-wrapper,
  .page-promotions__how-to-claim .page-promotions__container {
    flex-direction: column;
    text-align: center;
  }

  .page-promotions__benefits-image,
  .page-promotions__how-to-claim-image {
    flex: 0 0 auto;
    max-width: 80%;
    margin-top: 30px;
  }

  .page-promotions__benefits-section .page-promotions__section-title {
    text-align: center;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-promotions__hero-section {
    padding-top: 60px; /* Adjust for mobile header offset */
    padding-bottom: 40px;
    min-height: 400px;
  }

  .page-promotions__hero-title {
    font-size: 2em !important;
    margin-bottom: 15px;
  }

  .page-promotions__hero-description {
    font-size: 1em !important;
    margin-bottom: 25px;
    padding: 0 15px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    padding: 12px 25px !important;
  }

  /* 其他内容模块 - 通用容器和文本 */
  .page-promotions__container {
    padding: 0 15px !important;
  }

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

  .page-promotions__text-block,
  .page-promotions__steps-item,
  .page-promotions__card-description,
  .page-promotions__benefits-item,
  .page-promotions__faq-answer p {
    font-size: 0.95em !important;
    line-height: 1.6 !important;
  }

  /* 产品展示图区域 - Promotions Grid */
  .page-promotions__promotions-grid {
    grid-template-columns: 1fr !important; /* Single column layout */
    gap: 20px !important;
  }

  .page-promotions__promotion-card {
    flex-direction: column !important;
    margin: 0 auto !important;
    max-width: 100% !important;
  }

  .page-promotions__card-image {
    height: 200px !important;
  }

  .page-promotions__card-title {
    font-size: 1.3em !important;
  }

  /* 通用图片与容器 */
  .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__benefits-wrapper,
  .page-promotions__how-to-claim .page-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-promotions__benefits-image,
  .page-promotions__how-to-claim-image {
    max-width: 100% !important;
    flex: none !important;
  }

  /* 按钮与按钮容器 */
  .page-promotions__cta-button,
  .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__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-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }

  /* FAQ Section */
  .page-promotions__faq-question {
    font-size: 1em !important;
    padding: 15px 20px !important;
  }

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

  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px 20px !important;
  }
}