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

.page-promotions {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--background-color);
  line-height: 1.6;
}

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

.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small padding, body handles header offset */
  background-color: var(--deep-green-color);
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-promotions__hero-content {
  position: relative; /* Not absolute, for image-above-text */
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  z-index: 1;
}

.page-promotions__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-promotions__description {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--button-gradient);
  color: var(--text-main);
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__overview-section,
.page-promotions__benefits-section,
.page-promotions__faq-section,
.page-promotions__cta-banner {
  padding: 60px 0;
  text-align: center;
  background-color: var(--background-color);
}

.page-promotions__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: var(--text-main);
  margin-bottom: 40px;
  font-weight: 700;
}

.page-promotions__text-block {
  font-size: 1em;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 20px auto;
  line-height: 1.7;
}

.page-promotions__promotions-grid {
  padding: 60px 0;
  background-color: var(--deep-green-color);
}

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

.page-promotions__promotion-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  min-height: 450px; /* Ensure cards have a minimum height for consistency */
}

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

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-promotions__card-title {
  font-size: 1.4em;
  color: var(--text-main);
  margin: 20px 20px 10px 20px;
  font-weight: 600;
  line-height: 1.4;
}

.page-promotions__card-description {
  font-size: 0.95em;
  color: var(--text-secondary);
  margin: 0 20px 20px 20px;
  flex-grow: 1;
  line-height: 1.6;
}

.page-promotions__promotion-card .page-promotions__cta-button {
  margin: 0 20px 20px 20px;
  width: calc(100% - 40px);
  padding: 12px 20px;
  font-size: 1em;
  text-align: center;
}

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

.page-promotions__benefit-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px var(--glow-color));
}

.page-promotions__benefit-title {
  font-size: 1.3em;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions__benefit-description {
  font-size: 0.95em;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.page-promotions__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  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: 18px 25px;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--divider-color);
  user-select: none;
  list-style: none; /* For details/summary */
}

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

.page-promotions__faq-item[open] .page-promotions__faq-question {
  border-bottom: 1px solid var(--divider-color);
}

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

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold-color);
}

.page-promotions__faq-answer {
  padding: 15px 25px;
  font-size: 1em;
  color: var(--text-secondary);
  line-height: 1.7;
  background-color: var(--card-bg);
}

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

.page-promotions__cta-banner {
  background: linear-gradient(90deg, var(--deep-green-color) 0%, var(--primary-color) 100%);
  padding: 80px 0;
}

.page-promotions__cta-banner .page-promotions__section-title {
  color: var(--text-main);
}

.page-promotions__cta-banner .page-promotions__description {
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.page-promotions__cta-button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

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

  .page-promotions__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

  .page-promotions__description {
    font-size: 1em;
  }

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

  .page-promotions__grid-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-top: 10px !important;
  }
  
  .page-promotions__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

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

  .page-promotions__description {
    font-size: 0.95em;
  }

  .page-promotions__cta-button,
  .page-promotions__cta-button--large {
    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__overview-section,
  .page-promotions__promotions-grid,
  .page-promotions__benefits-section,
  .page-promotions__faq-section,
  .page-promotions__cta-banner {
    padding: 40px 0;
  }

  .page-promotions__container,
  .page-promotions__grid-wrapper,
  .page-promotions__benefits-grid,
  .page-promotions__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
    margin-bottom: 30px;
  }

  .page-promotions__text-block {
    font-size: 0.9em;
  }

  .page-promotions__promotion-card {
    min-height: auto;
  }

  .page-promotions__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions__benefit-icon {
    max-width: 100px !important;
    width: 100px !important;
    height: auto !important;
  }

  /* Ensure all images are responsive on mobile */
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__video-section {
    padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
  }

  .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;
  }
}

/* Content area image CSS size lower bound check */
.page-promotions__promotion-card .page-promotions__card-image { /* Specific to card images */
  min-width: 200px;
  min-height: 200px;
}

.page-promotions__benefit-item .page-promotions__benefit-icon {
  min-width: 100px; /* Icons are smaller, but meet 200px minimum for image generation, display size can be smaller if it's an icon, but actual image size is 200x200 */
  min-height: 100px;
}

/* General content images, ensure they don't go below 200px display size */
.page-promotions img:not(.page-promotions__benefit-icon) {
  min-width: 200px; 
  min-height: 200px;
}

/* Override for images that are designed to be smaller, but ensure generated image is still large */
.page-promotions__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}