/* style/promotions.css */
/* Base styles for the promotions page */
.page-promotions {
  font-family: Arial, sans-serif;
  color: var(--text-main, #F2FFF6); /* Default text color for dark background */
  background-color: var(--bg-primary, #08160F); /* Main background color */
  line-height: 1.6;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Stacks image wrapper and content vertically */
  align-items: center;
  justify-content: center;
  padding: 10px 0 40px; /* Small top padding, more bottom padding, no horizontal padding here, handled by inner elements */
  text-align: center;
  overflow: hidden;
  background-color: var(--bg-primary, #08160F); /* Fallback background */
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height of hero image */
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1; /* Ensure content is visually above background elements if any */
  max-width: 900px;
  padding: 40px 20px 20px; /* Adjusted padding, no negative margin */
  background-color: var(--bg-primary, #08160F); /* Solid background for content block */
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  margin-top: -1px; /* To visually connect with the image without overlapping content */
}

.page-promotions__main-title {
  font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size for H1 */
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 1.1em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
}

/* General Section Styling */
.page-promotions__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  background-color: var(--bg-primary, #08160F);
}

.page-promotions__section-title {
  font-size: clamp(1.8em, 4vw, 2.8em);
  color: var(--text-main, #F2FFF6);
  margin-bottom: 25px;
  font-weight: bold;
}

.page-promotions__section-description {
  font-size: 1em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Feature List (Intro Section) */
.page-promotions__feature-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-promotions__feature-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 10px;
  padding: 30px;
  flex: 1 1 300px; /* Allow items to grow/shrink, min-width 300px */
  max-width: 350px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
}

.page-promotions__feature-heading {
  font-size: 1.4em;
  color: var(--gold-color, #F2C14E);
  margin-bottom: 10px;
}

.page-promotions__feature-text {
  color: var(--text-secondary, #A7D9B8);
}

/* 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: var(--card-bg, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  text-align: left;
}

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

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

.page-promotions__promo-title {
  font-size: 1.5em;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__promo-description {
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* CTA Buttons */
.page-promotions__cta-button,
.page-promotions__card-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  width: auto; /* Default for desktop */
}

.page-promotions__cta-button {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  margin-top: 20px;
}

.page-promotions__cta-button:hover,
.page-promotions__card-button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.page-promotions__card-button {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  align-self: flex-start; /* Align button to start in flex column */
  margin-top: auto; /* Push to bottom of card content */
}

.page-promotions__cta-button--secondary {
  background: var(--gold-color, #F2C14E); /* Using Gold color for secondary CTA */
  color: var(--bg-primary, #08160F);
  border: none;
}

.page-promotions__cta-button--secondary:hover {
  background: var(--glow-color, #57E38D);
}

/* How-to-Claim Steps */
.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: var(--card-bg, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__step-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--deep-green, #0A4B2C);
  color: var(--glow-color, #57E38D);
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  border: 2px solid var(--glow-color, #57E38D);
}

.page-promotions__step-title {
  font-size: 1.3em;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 10px;
}

.page-promotions__step-description {
  color: var(--text-secondary, #A7D9B8);
}

.page-promotions__step-description a {
  color: var(--glow-color, #57E38D);
  text-decoration: none;
}

.page-promotions__step-description a:hover {
  text-decoration: underline;
}

.page-promotions__cta-bottom {
  margin-top: 50px;
}

/* Terms and Conditions */
.page-promotions__terms-list,
.page-promotions__benefits-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 40px auto 0;
}

.page-promotions__terms-item,
.page-promotions__benefit-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--divider-color, #1E3A2A);
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 15px;
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__terms-item strong,
.page-promotions__benefit-item strong {
  color: var(--text-main, #F2FFF6);
}

.page-promotions__terms-section a {
  color: var(--glow-color, #57E38D);
  text-decoration: none;
}

.page-promotions__terms-section a:hover {
  text-decoration: underline;
}

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

.page-promotions__faq-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary elements */
}

.page-promotions__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

.page-promotions__faq-question:hover {
  background-color: var(--deep-green, #0A4B2C);
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--glow-color, #57E38D);
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  content: "−"; /* Change to minus when open */
}

.page-promotions__faq-answer {
  padding: 0 25px 20px;
  color: var(--text-secondary, #A7D9B8);
  font-size: 0.95em;
  line-height: 1.7;
}

/* Final CTA Section */
.page-promotions__final-cta-section {
  padding: 60px 20px; /* Restore section padding */
  margin-bottom: 60px;
  text-align: center;
  background-color: var(--bg-primary, #08160F);
}

.page-promotions__cta-banner-content {
  max-width: 1200px;
  margin: 40px auto 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  background-color: var(--card-bg, #11271B); /* Background for the content block */
  display: flex;
  flex-direction: column; /* Stack image and text vertically */
  align-items: center;
}

.page-promotions__cta-banner-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px;
}

.page-promotions__cta-text-block {
  padding: 30px;
  text-align: center;
  width: 100%; /* Ensure text block takes full width */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    padding: 30px 20px 20px;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 10px 0 30px;
  }

  .page-promotions__hero-content {
    padding: 30px 15px 20px;
  }

  .page-promotions__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

  .page-promotions__section {
    padding: 40px 15px;
  }

  .page-promotions__section-title {
    font-size: clamp(1.6em, 6vw, 2.2em);
  }

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

  .page-promotions__promo-image {
    height: 200px;
  }

  /* Images responsive */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Image containers responsive */
  .page-promotions__hero-image-wrapper,
  .page-promotions__promo-card,
  .page-promotions__cta-banner-content,
  .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;
    overflow: hidden !important; /* Ensure content doesn't overflow */
  }

  /* Buttons responsive */
  .page-promotions__cta-button,
  .page-promotions__card-button,
  .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;
  }
  
  /* Button containers responsive */
  .page-promotions__cta-bottom,
  .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;
  }
  
  .page-promotions__cta-bottom {
    display: flex;
    flex-direction: column; /* Ensure buttons stack vertically on mobile */
  }

  .page-promotions__video-section { /* Placeholder if video were present */
    padding-top: 10px !important; 
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: clamp(1.6em, 8vw, 2em);
  }
  .page-promotions__cta-button {
    padding: 12px 20px;
    font-size: 0.9em;
  }
  .page-promotions__feature-item,
  .page-promotions__step-card {
    padding: 20px;
  }
  .page-promotions__promo-card {
    padding-bottom: 15px; /* Adjust padding for smaller screens */
  }
  .page-promotions__promo-title {
    font-size: 1.2em;
  }
  .page-promotions__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-promotions__faq-answer {
    padding: 0 20px 15px;
  }
  .page-promotions__final-cta-section {
    margin-bottom: 40px;
  }
  .page-promotions__cta-text-block {
    padding: 15px;
  }
}

/* Ensure images meet minimum size requirements */
.page-promotions img {
    min-width: 200px;
    min-height: 200px;
}
/* No filter properties for images */
.page-promotions img {
  filter: none !important;
}

/* Ensure content area images CSS dimensions are not smaller than 200px */
.page-promotions__promo-image,
.page-promotions__hero-image,
.page-promotions__cta-banner-image {
    width: auto; /* Reset to auto for desktop to allow max-width to control */
    height: auto; /* Reset to auto for desktop to allow max-width to control */
    max-width: none; /* Reset to none for desktop to allow explicit width/height */
    min-width: 200px; /* Enforce minimum display size */
    min-height: 200px; /* Enforce minimum display size */
}