/* style/promotions.css */
/* Body background is #08160F (dark), so text should be light #F2FFF6 */
.page-promotions {
  font-family: 'Arial', sans-serif;
  background-color: var(--background-color, #08160F); /* Fallback to deep green if var not defined */
  color: var(--text-main-color, #F2FFF6); /* Main text color, light */
  line-height: 1.6;
}

/* --- Color Palette Variables --- */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg-color: #11271B;
  --background-color: #08160F;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

/* --- Typography --- */
.page-promotions__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--gold-color, #F2C14E); /* Gold for main title */
  text-align: center;
  margin-bottom: 20px;
}

.page-promotions__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--text-main-color, #F2FFF6);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-promotions__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--glow-color, #57E38D);
  border-radius: 2px;
}

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

.page-promotions__hero-description,
.page-promotions__paragraph,
.page-promotions__offer-description {
  font-size: 1.1em;
  color: var(--text-secondary-color, #A7D9B8); /* Secondary text color */
  margin-bottom: 1em;
}

/* --- Layout Sections --- */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small padding, body takes --header-offset */
  overflow: hidden;
  background-color: var(--deep-green-color, #0A4B2C); /* Use a darker background for hero section */
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 200px; /* Minimum size requirement */
}

.page-promotions__hero-content {
  text-align: center;
  max-width: 900px;
  width: 100%;
  z-index: 1;
}

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

.page-promotions__intro-section,
.page-promotions__featured-offers-section,
.page-promotions__how-to-claim-section,
.page-promotions__terms-section,
.page-promotions__faq-section,
.page-promotions__final-cta-section {
  padding: 60px 0;
  background-color: var(--background-color, #08160F); /* Use page background color */
}

.page-promotions__featured-offers-section {
  background-color: var(--card-bg-color, #11271B); /* Slightly different background for visual separation */
}

/* --- Offer Cards --- */
.page-promotions__offer-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: var(--card-bg-color, #11271B); /* Card background */
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 40px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color, #2E7A4E); /* Border for cards */
}

.page-promotions__offer-card--reverse {
  flex-direction: row-reverse;
}

.page-promotions__offer-image {
  width: 45%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-promotions__offer-content {
  width: 55%;
  padding: 0 30px;
  box-sizing: border-box;
}

/* --- CTA Buttons --- */
.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: var(--button-gradient); /* Button gradient */
  color: #ffffff; /* White text for buttons */
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure button doesn't overflow */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  text-align: center;
}

.page-promotions__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__cta-button--secondary {
  background: var(--card-bg-color, #11271B); /* Secondary button background */
  border: 1px solid var(--glow-color, #57E38D); /* Border for secondary button */
  color: var(--glow-color, #57E38D);
}

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

/* --- Lists --- */
.page-promotions__numbered-list,
.page-promotions__bullet-list {
  list-style-position: inside;
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--text-secondary-color, #A7D9B8);
}

.page-promotions__numbered-list li,
.page-promotions__bullet-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-promotions__numbered-list strong {
  color: var(--text-main-color, #F2FFF6);
}

/* --- FAQ Section --- */
.page-promotions__faq-list {
  margin-top: 30px;
}

.page-promotions__faq-item {
  background-color: var(--card-bg-color, #11271B);
  border: 1px solid var(--divider-color, #1E3A2A);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

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

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

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  transform: rotate(45deg);
}

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

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

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-promotions__offer-image {
    width: 40%;
  }
  .page-promotions__offer-content {
    width: 60%;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__main-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body has padding-top, only 10px here */
  }

  .page-promotions__main-title {
    font-size: 1.8em; /* Responsive font size */
    margin-bottom: 15px;
  }

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

  .page-promotions__cta-button {
    padding: 12px 20px;
    font-size: 0.9em;
  }

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

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

  .page-promotions__section-title::after {
    width: 60px;
  }

  .page-promotions__offer-card {
    flex-direction: column;
    padding: 20px;
    margin-bottom: 30px;
  }

  .page-promotions__offer-card--reverse {
    flex-direction: column; /* On mobile, reverse is also column */
  }

  .page-promotions__offer-image {
    width: 100%;
    max-width: 100% !important; /* Force responsive */
    height: auto !important; /* Force responsive */
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
  }

  .page-promotions__offer-content {
    width: 100%;
    padding: 0;
  }

  .page-promotions__offer-title {
    font-size: 1.5em;
    text-align: center;
  }

  .page-promotions__paragraph,
  .page-promotions__offer-description,
  .page-promotions__numbered-list li,
  .page-promotions__bullet-list li {
    font-size: 0.95em;
  }

  /* Force responsive images, videos, and buttons */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions video,
  .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !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;
  }
  
  .page-promotions__cta-buttons {
    display: flex;
    flex-direction: column;
  }
  
  .page-promotions__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-promotions__faq-answer {
    padding: 0 20px 15px;
  }
}

/* No CSS filters for images */
.page-promotions img {
  filter: none;
}