/* style/promotions.css */
:root {
  --color-primary: #11A84E;
  --color-secondary: #22C768;
  --color-button-gradient-start: #2AD16F;
  --color-button-gradient-end: #13994A;
  --color-card-bg: #11271B;
  --color-background: #08160F;
  --color-text-main: #F2FFF6;
  --color-text-secondary: #A7D9B8;
  --color-border: #2E7A4E;
  --color-glow: #57E38D;
  --color-gold: #F2C14E;
  --color-divider: #1E3A2A;
  --color-deep-green: #0A4B2C;
}

.page-promotions {
  background-color: var(--color-background);
  color: var(--color-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Ensure space above footer */
}

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

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 1200px;
  margin-top: 20px;
  border-radius: 10px;
  object-fit: cover;
}

.page-promotions__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--color-gold);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  max-width: 900px;
}

.page-promotions__hero-text {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-promotions__btn-primary {
  background: var(--color-button-gradient-start);
  background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
  color: var(--color-text-main);
  border: 2px solid var(--color-button-gradient-start);
  margin-right: 15px;
}

.page-promotions__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.page-promotions__btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-text-main);
  transform: translateY(-2px);
}

.page-promotions__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--color-gold);
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-promotions__section-subtitle {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--color-primary);
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-promotions__description {
  font-size: 1rem;
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__intro-section,
.page-promotions__guide-section,
.page-promotions__why-choose-section,
.page-promotions__cta-bottom-section {
  padding: 40px 0;
}

.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(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

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

.page-promotions__promo-card-title {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__promo-card-content p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  align-self: flex-start;
  margin-top: auto;
}

.page-promotions__guide-list,
.page-promotions__terms-list,
.page-promotions__benefits-list {
  list-style-type: disc;
  margin-left: 25px;
  color: var(--color-text-main);
  margin-bottom: 20px;
}

.page-promotions__guide-list li,
.page-promotions__terms-list li,
.page-promotions__benefits-list li {
  margin-bottom: 10px;
  color: var(--color-text-secondary);
}

.page-promotions__guide-list li strong {
  color: var(--color-primary);
}

.page-promotions__guide-list a,
.page-promotions__terms-list a,
.page-promotions__faq-answer a,
.page-promotions__more-faq-link a,
.page-promotions__benefits-list a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-promotions__guide-list a:hover,
.page-promotions__terms-list a:hover,
.page-promotions__faq-answer a:hover,
.page-promotions__more-faq-link a:hover,
.page-promotions__benefits-list a:hover {
  color: var(--color-glow);
  text-decoration: underline;
}

.page-promotions__faq-list {
  margin-top: 30px;
}

.page-promotions__faq-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--color-text-main);
}

.page-promotions__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--color-primary);
  transition: background-color 0.3s ease;
}

.page-promotions__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-promotions__faq-item summary:hover {
  background-color: var(--color-deep-green);
}

.page-promotions__faq-qtext {
  flex-grow: 1;
}

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-promotions__faq-answer {
  padding: 0 25px 20px;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

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

.page-promotions__cta-bottom-section {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-promotions p {
  margin-bottom: 15px;
  color: var(--color-text-secondary);
}

/* Ensure all images maintain original color */
.page-promotions img {
  filter: none; /* No CSS filters to change image color */
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-promotions__container {
    padding: 0 15px;
  }

  .page-promotions__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset */
  }

  .page-promotions__hero-title {
    font-size: 2rem;
  }

  .page-promotions__hero-text {
    font-size: 1rem;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-promotions__section-subtitle {
    font-size: 1.2rem;
  }

  .page-promotions__description {
    font-size: 0.9rem;
  }

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

  .page-promotions__promo-card-title {
    font-size: 1.3rem;
  }

  .page-promotions__promo-card-content p {
    font-size: 0.85rem;
  }

  .page-promotions__faq-item summary {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-promotions__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.9rem;
  }

  /* Force responsive images and their containers */
  .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__hero-section,
  .page-promotions__promo-card,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent content overflow */
  }

  .page-promotions__promo-card-image {
    height: 200px; /* Adjust height for smaller screens */
  }
}

/* Content area images CSS size lower bound check */
.page-promotions img {
  min-width: 200px;
  min-height: 200px;
}

.page-promotions__promo-card-image {
  min-width: unset;
  min-height: unset;
}

/* Specific adjustment to ensure promo card images are flexible but not too small */
@media (max-width: 768px) {
  .page-promotions__promo-card-image {
    height: auto; /* Allow auto height for responsiveness */
    max-height: 250px; /* Cap max height to avoid excessively tall images */
  }
}