/* style/promotions.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接） */

.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark background */
  background-color: var(--dark-bg-1); /* Inherit from shared.css */
}

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

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below header */
  background: linear-gradient(135deg, #0A2463, #000000);
  overflow: hidden;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 800px;
  padding: 40px 20px;
}

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

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

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-small,
.page-promotions__btn-large {
  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, transform 0.3s ease;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to break words */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  max-width: 100%; /* Ensure button does not exceed container width */
  text-align: center;
}

.page-promotions__btn-primary {
  background-color: #FFD700;
  color: #0A2463;
  border: 2px solid #FFD700;
}

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

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

.page-promotions__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
  transform: translateY(-2px);
}

.page-promotions__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #0A2463;
  color: #FFD700;
  border: 1px solid #FFD700;
}

.page-promotions__btn-small:hover {
  background-color: #FFD700;
  color: #0A2463;
}

.page-promotions__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
  background-color: #FFD700;
  color: #0A2463;
  border: 2px solid #FFD700;
}

.page-promotions__btn-large:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3;
  filter: brightness(0.6); /* Use filter for background image, not content images */
}

.page-promotions__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none; /* Ensure no filters are applied to the image itself */
}

/* General Section Styling */
.page-promotions__overview-section,
.page-promotions__types-section,
.page-promotions__claim-guide-section,
.page-promotions__terms-section,
.page-promotions__faq-section,
.page-promotions__cta-bottom-section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions__dark-section {
  background-color: #0A2463;
  color: #ffffff;
}

.page-promotions__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-promotions__text-block {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-promotions__text-block a {
  color: #FFD700;
  text-decoration: underline;
}

.page-promotions__text-block a:hover {
  color: #e6c200;
}

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

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

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

.page-promotions__promo-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it behaves as a block element */
  filter: none; /* Ensure no filters are applied to the image itself */
}

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

.page-promotions__card-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-promotions__card-title a:hover {
  text-decoration: underline;
}

.page-promotions__card-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow description to take available space */
}

/* Type Category */
.page-promotions__type-category {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 40px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-promotions__category-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 15px;
  text-align: center;
}

.page-promotions__category-description {
  font-size: 1.1em;
  margin-bottom: 25px;
  text-align: center;
  color: #f0f0f0;
}

.page-promotions__type-category img {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 30px auto;
  display: block;
  filter: none; /* Ensure no filters are applied to the image itself */
}

.page-promotions__list {
  list-style-type: disc;
  padding-left: 40px;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-promotions__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-promotions__list li strong {
  color: #FFD700;
}

/* Claim Guide */
.page-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-promotions__step-icon {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 3px solid #FFD700;
  border-radius: 50%;
}

/* FAQ Section */
.page-promotions__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
}

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

.page-promotions__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #FFD700;
}

.page-promotions__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to form an X or minus */
}

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

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure override */
  padding: 15px 25px 25px 25px; /* Adjust padding for open state */
}

.page-promotions__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #f0f0f0;
}

.page-promotions__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

.page-promotions__faq-answer a:hover {
  color: #e6c200;
}

/* Bottom CTA */
.page-promotions__cta-bottom-section {
  background-color: #0A2463;
  color: #ffffff;
  padding: 80px 20px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 3em;
  }
  .page-promotions__section-title {
    font-size: 2.2em;
  }
}

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

  /* Fixed header offset for mobile */
  .page-promotions__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    min-height: 400px;
  }

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

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

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions__btn-small,
  .page-promotions__btn-large {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-promotions__text-block {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-promotions__promo-card {
    padding: 20px;
  }

  .page-promotions__promo-card img {
    height: auto !important; /* Allow height to adjust naturally */
  }

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

  .page-promotions__type-category {
    padding: 30px 20px;
  }

  .page-promotions__category-title {
    font-size: 1.6em;
  }

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

  .page-promotions__type-category img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__list {
    padding-left: 20px;
    font-size: 0.95em;
  }

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

  .page-promotions__faq-question h3 {
    font-size: 1em;
  }

  .page-promotions__faq-toggle {
    font-size: 1.5em;
  }

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

  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 10px 20px 20px 20px;
  }

  /* Image responsive enforcement for content area */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    filter: none !important; /* Ensure no filters are applied to the image itself */
  }

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__promo-card,
  .page-promotions__type-category,
  .page-promotions__step-card,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Padding for mobile sections, cards etc. */
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Override for .page-promotions__container to remove added padding if not needed for content */
  .page-promotions__container {
    padding-left: 0;
    padding-right: 0;
  }

  /* Specific adjustment for sections that need internal padding */
  .page-promotions__overview-section .page-promotions__container,
  .page-promotions__types-section .page-promotions__container,
  .page-promotions__claim-guide-section .page-promotions__container,
  .page-promotions__terms-section .page-promotions__container,
  .page-promotions__faq-section .page-promotions__container,
  .page-promotions__cta-bottom-section .page-promotions__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure image color filters are NOT used */
.page-promotions img {
  filter: none; /* Explicitly ensure no filters are applied */
}