.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #ffffff); /* Inherit from shared or default to white */
}

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

.page-promotions__section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-promotions__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-promotions__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px; /* Minimum height for hero */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden;
}

.page-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-promotions__hero-overlay {
  position: relative;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
  padding: 40px 20px;
  border-radius: 8px;
  max-width: 800px;
}

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

.page-promotions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ffffff;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-promotions__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-promotions__btn-primary:hover {
  background-color: #d46a00;
  border-color: #d46a00;
}

.page-promotions__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-promotions__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-promotions__btn-primary--large {
  padding: 18px 35px;
  font-size: 1.1em;
}

.page-promotions__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: inherit; /* Inherit from section background */
}

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

.page-promotions__text-block--note {
  font-style: italic;
  margin-top: 40px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.page-promotions__grid-three-cols,
.page-promotions__grid-two-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-promotions__card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.page-promotions__card--dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: none;
}

.page-promotions__card-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: inherit;
}

.page-promotions__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-promotions__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 40px auto;
  display: block;
  max-width: 1000px; /* Limit max width for content images */
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-promotions__list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-promotions__list li {
  background-color: #f9f9f9;
  border-left: 5px solid #26A9E0;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-promotions__list-item-title {
  font-size: 1.2em;
  color: #26A9E0;
  margin-bottom: 5px;
}

.page-promotions__list li p {
  font-size: 1em;
  color: #555555;
  margin-bottom: 0;
}

.page-promotions__cta-buttons--center {
  margin-top: 40px;
  margin-bottom: 20px;
}

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

.page-promotions__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
}

.page-promotions__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #EA7C07;
  margin-bottom: 15px;
}

.page-promotions__step-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #ffffff;
}

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

.page-promotions__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  color: #333333;
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: #e9e9e9;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

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

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

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px 20px 20px;
}

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

.page-promotions__link-text {
  color: #EA7C07;
  text-decoration: none;
  font-weight: bold;
}

.page-promotions__link-text:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 2.5em;
  }

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

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

  .page-promotions__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header */
  }

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

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

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

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

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

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

  .page-promotions__grid-three-cols, 
  .page-promotions__grid-two-cols,
  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__card,
  .page-promotions__list li,
  .page-promotions__faq-item,
  .page-promotions__step-item {
    padding: 20px 15px;
    margin-left: 15px;
    margin-right: 15px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    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__hero-cta-buttons,
  .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-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
    overflow: hidden !important;
  }

  /* Images and Videos responsiveness */
  .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__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 video,
  .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure content images are not smaller than 200px in CSS, but still responsive */
  .page-promotions__image-full-width, .page-promotions__card-image {
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important; /* Allow it to scale down to 100% of container */
    height: auto !important;
  }
}